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