summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpageranges.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qpageranges.h')
-rw-r--r--src/gui/painting/qpageranges.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpageranges.h b/src/gui/painting/qpageranges.h
index d525124a62..11a30a95a5 100644
--- a/src/gui/painting/qpageranges.h
+++ b/src/gui/painting/qpageranges.h
@@ -65,7 +65,7 @@ public:
QPageRanges(QPageRanges &&other) noexcept = default;
QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPageRanges)
void swap(QPageRanges &other) noexcept
- { qSwap(d, other.d); }
+ { d.swap(other.d); }
friend bool operator==(const QPageRanges &lhs, const QPageRanges &rhs) noexcept
{ return lhs.isEqual(rhs); }