summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-01-08 11:05:59 -0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-08 21:46:34 +0100
commit932034b3df322e7a9dc3d7979584019b46277e50 (patch)
treea155734695603db036aff18f1d2d6ff50fcc7610 /src/corelib/global
parentd8a3bcc6c412a71803aad417bc3d4d7b6716ad7b (diff)
Define Q_COMPILER_AUTO_FUNCTION for MVSC
This definition was missing. It's clear MSVC supports this feature because it has been in use in qtconcurrentrun.h under an #ifdef Q_COMPILER_DECLTYPE, which is defined for MSVC. Change-Id: Id76198b2be8bba13fd00c65d6d4f73d3ef601449 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qcompilerdetection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index 0ba0d9be63..2c471bdfc3 100644
--- a/src/corelib/global/qcompilerdetection.h
+++ b/src/corelib/global/qcompilerdetection.h
@@ -673,6 +673,7 @@
# endif
# if _MSC_VER >= 1600
/* C++11 features supported in VC10 = VC2010: */
+# define Q_COMPILER_AUTO_FUNCTION
# define Q_COMPILER_AUTO_TYPE
# define Q_COMPILER_LAMBDA
# define Q_COMPILER_DECLTYPE