From 3ed0a233231a94cd8adb2fe8dfa212caece0085b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C4=99drzej=20Nowacki?= Date: Tue, 13 Dec 2011 10:14:23 +0100 Subject: [PATCH] Add specialization for QTypeInfo QTypeInfo uses sizeof which is illegal operation for void type. Change-Id: Idf43551bdfafbb76e32f4f2785af5f4291981e73 Reviewed-by: Thiago Macieira Reviewed-by: Olivier Goffart --- src/corelib/global/qglobal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index e22d666..76b956c 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -2027,6 +2027,19 @@ public: }; }; +template<> +class QTypeInfo +{ +public: + enum { + isPointer = false, + isComplex = false, + isStatic = false, + isLarge = false, + isDummy = false + }; +}; + template class QTypeInfo { -- 2.7.4