QMetaType: Specialize IsPointerToTypeDerivedFromQObject for const void*
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 15 Apr 2014 15:05:52 +0000 (17:05 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 22 Apr 2014 08:19:27 +0000 (10:19 +0200)
commit969da85c2b6523432af1728cbb5ee311652decb0
tree24e83ae83a87a97d917657ff3748036a4a72c14b
parent9b8dd3012cc8b2a71acb324485f1541a01171838
QMetaType: Specialize IsPointerToTypeDerivedFromQObject for const void*

'const void' is not derived from QObject, and is not a type we can use
sizeof to determine that.

Change-Id: I008f444bbed9fc8f9147da0f7f336757f660e224
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qmetatype.h