qmetatype.h: remove unnecessary specialization
Commit 5db3fd29b42ec06ccb15fdd7f274bb20c326ffb6 removed the expansions that likely needed this. Change-Id: I6d3880c7d99d4fc494c8fffd16fbbe8dcde4a1b1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 3335b541e76903f312cf71944a857c11e221c512) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
a4a9a46964
commit
67d223705f
@ -878,13 +878,6 @@ namespace QtPrivate
|
|||||||
static constexpr MetaObjectFn metaObjectFunction = nullptr;
|
static constexpr MetaObjectFn metaObjectFunction = nullptr;
|
||||||
};
|
};
|
||||||
#ifndef QT_NO_QOBJECT
|
#ifndef QT_NO_QOBJECT
|
||||||
template<>
|
|
||||||
struct MetaObjectForType<void>
|
|
||||||
{
|
|
||||||
static constexpr const QMetaObject *value() { return nullptr; }
|
|
||||||
using MetaObjectFn = const QMetaObject *(*)(const QMetaTypeInterface *);
|
|
||||||
static constexpr MetaObjectFn metaObjectFunction = nullptr;
|
|
||||||
};
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct MetaObjectForType<T*, typename std::enable_if<IsPointerToTypeDerivedFromQObject<T*>::Value>::type>
|
struct MetaObjectForType<T*, typename std::enable_if<IsPointerToTypeDerivedFromQObject<T*>::Value>::type>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user