qmetatype.h: remove unnecessary specialization
Commit 5db3fd29b4
removed the expansions
that likely needed this.
Pick-to: 6.3 6.4
Change-Id: I6d3880c7d99d4fc494c8fffd16fbbe8dcde4a1b1
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
c474825945
commit
3335b541e7
@ -893,13 +893,6 @@ namespace QtPrivate
|
||||
static constexpr MetaObjectFn metaObjectFunction = nullptr;
|
||||
};
|
||||
#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>
|
||||
struct MetaObjectForType<T*, typename std::enable_if<IsPointerToTypeDerivedFromQObject<T*>::Value>::type>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user