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 6965606252..a7858edfaf 100644
--- a/src/gui/painting/qpagelayout.h
+++ b/src/gui/painting/qpagelayout.h
@@ -81,7 +81,7 @@ public:
const QMarginsF &margins, Unit units = Point,
const QMarginsF &minMargins = QMarginsF(0, 0, 0, 0));
QPageLayout(const QPageLayout &other);
- QPageLayout &operator=(QPageLayout &&other) noexcept { swap(other); return *this; }
+ QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QPageLayout)
QPageLayout &operator=(const QPageLayout &other);
~QPageLayout();