From 2984fcbb3df73646a26659f0b947aff5774208f4 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 11 May 2022 17:34:53 +0200 Subject: QNetworkCacheMetaData: replace qSwap with member-swap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This one seems to have been forgotten the first time around. Amends f438d29b6fdfff0680b09e88590ee47b22877776. Task-number: QTBUG-97601 Pick-to: 6.3 6.2 5.15 Change-Id: Ia9b2667dd69cc4a9778f8c9bdf905ca11b4e079e Reviewed-by: Thiago Macieira Reviewed-by: MÃ¥rten Nordheim --- src/network/access/qabstractnetworkcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/access') diff --git a/src/network/access/qabstractnetworkcache.h b/src/network/access/qabstractnetworkcache.h index a4048c5b8f..071707e19b 100644 --- a/src/network/access/qabstractnetworkcache.h +++ b/src/network/access/qabstractnetworkcache.h @@ -70,7 +70,7 @@ public: QNetworkCacheMetaData &operator=(const QNetworkCacheMetaData &other); void swap(QNetworkCacheMetaData &other) noexcept - { qSwap(d, other.d); } + { d.swap(other.d); } bool operator==(const QNetworkCacheMetaData &other) const; inline bool operator!=(const QNetworkCacheMetaData &other) const -- cgit v1.2.3