summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qcompilerdetection.h
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2013-01-02 16:14:30 -0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-04 20:43:51 +0100
commit91a55c7e7d15ca67d162af52e2332de2d1003490 (patch)
tree4d3e8eff361b4dd7a72cca2e06bfe0dc5bbe3fb5 /src/corelib/global/qcompilerdetection.h
parentba82958af97b831875ea568f87ec49d8fad32297 (diff)
Disable Q_COMPILER_RVALUE_REFS on QNX
std::forward and std::move are not yet supported by the NDK. Change-Id: I1df1b5e88717c0d27a280862b98eb68262927f2b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qcompilerdetection.h')
-rw-r--r--src/corelib/global/qcompilerdetection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index f65fa01538..0ba0d9be63 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -702,6 +702,9 @@
# ifdef Q_COMPILER_INITIALIZER_LISTS
# undef Q_COMPILER_INITIALIZER_LISTS
# endif
+# ifdef Q_COMPILER_RVALUE_REFS
+# undef Q_COMPILER_RVALUE_REFS
+# endif
# endif
# endif
#endif // Q_OS_QNX