summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/io/qdir.h')
-rw-r--r--src/corelib/io/qdir.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h
index 547ac163c7..45a40995f8 100644
--- a/src/corelib/io/qdir.h
+++ b/src/corelib/io/qdir.h
@@ -109,9 +109,7 @@ public:
QT_DEPRECATED_X("Use QDir::setPath() instead")
QDir &operator=(const QString &path);
#endif
-#ifdef Q_COMPILER_RVALUE_REFS
QDir &operator=(QDir &&other) noexcept { swap(other); return *this; }
-#endif
void swap(QDir &other) noexcept
{ qSwap(d_ptr, other.d_ptr); }