diff options
Diffstat (limited to 'src/corelib/io/qstorageinfo.h')
-rw-r--r-- | src/corelib/io/qstorageinfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qstorageinfo.h b/src/corelib/io/qstorageinfo.h index 237e68d2a1..ec95ea3b23 100644 --- a/src/corelib/io/qstorageinfo.h +++ b/src/corelib/io/qstorageinfo.h @@ -62,7 +62,7 @@ public: ~QStorageInfo(); QStorageInfo &operator=(const QStorageInfo &other); - QStorageInfo &operator=(QStorageInfo &&other) noexcept { swap(other); return *this; } + QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(QStorageInfo) inline void swap(QStorageInfo &other) noexcept { qSwap(d, other.d); } |