diff options
-rw-r--r-- | src/corelib/global/qflags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/global/qflags.h b/src/corelib/global/qflags.h index df104417cd..9b263123a0 100644 --- a/src/corelib/global/qflags.h +++ b/src/corelib/global/qflags.h @@ -77,7 +77,8 @@ Q_DECL_CONSTEXPR inline QIncompatibleFlag::QIncompatibleFlag(int ai) : i(ai) {} template<typename Enum> class QFlags { - typedef void **Zero; + struct Private; + typedef int (Private::*Zero); int i; public: typedef Enum enum_type; |