summaryrefslogtreecommitdiffstats
path: root/src/corelib/mimetypes/qmimetype.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/mimetypes/qmimetype.h')
-rw-r--r--src/corelib/mimetypes/qmimetype.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/mimetypes/qmimetype.h b/src/corelib/mimetypes/qmimetype.h
index c496af7d58..6d6f9eb488 100644
--- a/src/corelib/mimetypes/qmimetype.h
+++ b/src/corelib/mimetypes/qmimetype.h
@@ -78,9 +78,7 @@ public:
QMimeType();
QMimeType(const QMimeType &other);
QMimeType &operator=(const QMimeType &other);
-#ifdef Q_COMPILER_RVALUE_REFS
QMimeType &operator=(QMimeType &&other) noexcept { swap(other); return *this; }
-#endif
void swap(QMimeType &other) noexcept
{
qSwap(d, other.d);