summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qflags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qflags.h')
-rw-r--r--src/corelib/global/qflags.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h
index a6bd37c33f..f85fc705b4 100644
--- a/src/corelib/global/qflags.h
+++ b/src/corelib/global/qflags.h
@@ -102,7 +102,7 @@ public:
// the definition below is too complex for qdoc
typedef int Int;
#else
- typedef typename QtPrivate::if_<
+ typedef typename std::conditional<
QtPrivate::is_unsigned<Enum>::value,
unsigned int,
signed int