diff options
Diffstat (limited to 'src/corelib/io/qdir.h')
-rw-r--r-- | src/corelib/io/qdir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h index 8b8aa05223..92b3faee7e 100644 --- a/src/corelib/io/qdir.h +++ b/src/corelib/io/qdir.h @@ -121,7 +121,7 @@ public: ~QDir(); QDir &operator=(const QDir &); - QDir &operator=(QDir &&other) noexcept { swap(other); return *this; } + QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QDir) void swap(QDir &other) noexcept { qSwap(d_ptr, other.d_ptr); } |