summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpagelayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qpagelayout.h')
-rw-r--r--src/gui/painting/qpagelayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpagelayout.h b/src/gui/painting/qpagelayout.h
index 469436ce59..8d45241106 100644
--- a/src/gui/painting/qpagelayout.h
+++ b/src/gui/painting/qpagelayout.h
@@ -85,7 +85,7 @@ public:
QPageLayout &operator=(const QPageLayout &other);
~QPageLayout();
- void swap(QPageLayout &other) noexcept { qSwap(d, other.d); }
+ void swap(QPageLayout &other) noexcept { d.swap(other.d); }
bool isEquivalentTo(const QPageLayout &other) const;