summaryrefslogtreecommitdiffstats
path: root/src/corelib/time/qtimezone.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/time/qtimezone.h')
-rw-r--r--src/corelib/time/qtimezone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/time/qtimezone.h b/src/corelib/time/qtimezone.h
index 11070cc2eb..2fc208fa2e 100644
--- a/src/corelib/time/qtimezone.h
+++ b/src/corelib/time/qtimezone.h
@@ -99,7 +99,7 @@ public:
~QTimeZone();
QTimeZone &operator=(const QTimeZone &other);
- QTimeZone &operator=(QTimeZone &&other) noexcept { swap(other); return *this; }
+ QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QTimeZone)
void swap(QTimeZone &other) noexcept
{ d.swap(other.d); }