diff options
author | Kai Koehne <kai.koehne@qt.io> | 2016-08-08 09:41:57 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2016-11-09 09:13:29 +0000 |
commit | 615270a3008cfc1314a3c983b7e69006dc4184b4 (patch) | |
tree | 77e2c1cc878c33744ef59a621aaff85bafa0e2c3 /src/corelib/global/qflags.h | |
parent | 5c3b16706ff30c38258df0e98e071bf8ae6a1460 (diff) | |
download | qtbase-615270a3008cfc1314a3c983b7e69006dc4184b4.tar.gz |
Rename QtPrivate::is_[un]signed to QtPrivate::Is[Un]signedEnum
Any other use than for enums should use std::is_[un]signed. Make this
explicit by renaming the type traits.
Change-Id: I494158563c95c710e710d0d337f4e547006df171
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qflags.h')
-rw-r--r-- | src/corelib/global/qflags.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h index f85fc705b4..b871c90c9d 100644 --- a/src/corelib/global/qflags.h +++ b/src/corelib/global/qflags.h @@ -103,7 +103,7 @@ public: typedef int Int; #else typedef typename std::conditional< - QtPrivate::is_unsigned<Enum>::value, + QtPrivate::QIsUnsignedEnum<Enum>::value, unsigned int, signed int >::type Int; |