summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetatype.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-06-18 07:37:05 -0700
committerThiago Macieira <thiago.macieira@intel.com>2022-06-28 15:07:41 -0700
commit3335b541e76903f312cf71944a857c11e221c512 (patch)
tree75895fb030f02496be4854d6a7dce0bc59ad994b /src/corelib/kernel/qmetatype.h
parentc474825945a418ae9d8494c80b6803b6279e0cf5 (diff)
qmetatype.h: remove unnecessary specialization
Commit 5db3fd29b42ec06ccb15fdd7f274bb20c326ffb6 removed the expansions that likely needed this. Pick-to: 6.3 6.4 Change-Id: I6d3880c7d99d4fc494c8fffd16fbbe8dcde4a1b1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/kernel/qmetatype.h')
-rw-r--r--src/corelib/kernel/qmetatype.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h
index 82d799ac41..0134879986 100644
--- a/src/corelib/kernel/qmetatype.h
+++ b/src/corelib/kernel/qmetatype.h
@@ -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>
{