summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qstorageinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qstorageinfo.h')
-rw-r--r--src/corelib/io/qstorageinfo.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qstorageinfo.h b/src/corelib/io/qstorageinfo.h
index addcbb2990..237e68d2a1 100644
--- a/src/corelib/io/qstorageinfo.h
+++ b/src/corelib/io/qstorageinfo.h
@@ -62,9 +62,7 @@ public:
~QStorageInfo();
QStorageInfo &operator=(const QStorageInfo &other);
-#ifdef Q_COMPILER_RVALUE_REFS
QStorageInfo &operator=(QStorageInfo &&other) noexcept { swap(other); return *this; }
-#endif
inline void swap(QStorageInfo &other) noexcept
{ qSwap(d, other.d); }