summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhstspolicy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/access/qhstspolicy.h')
-rw-r--r--src/network/access/qhstspolicy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qhstspolicy.h b/src/network/access/qhstspolicy.h
index 0cf0c73f9c..12bb25c19d 100644
--- a/src/network/access/qhstspolicy.h
+++ b/src/network/access/qhstspolicy.h
@@ -68,7 +68,7 @@ public:
QHstsPolicy &operator=(QHstsPolicy &&other) noexcept { swap(other); return *this; }
~QHstsPolicy();
- void swap(QHstsPolicy &other) noexcept { qSwap(d, other.d); }
+ void swap(QHstsPolicy &other) noexcept { d.swap(other.d); }
void setHost(const QString &host, QUrl::ParsingMode mode = QUrl::DecodedMode);
QString host(QUrl::ComponentFormattingOptions options = QUrl::FullyDecoded) const;