From: Jędrzej Nowacki Date: Tue, 13 Dec 2011 09:14:23 +0000 (+0100) Subject: Add specialization for QTypeInfo X-Git-Tag: qt-v5.0.0-alpha1~2279 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ed0a233231a94cd8adb2fe8dfa212caece0085b;p=profile%2Fivi%2Fqtbase.git 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 --- 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 {