diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-06-18 07:37:05 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-06-28 15:07:41 -0700 |
commit | 3335b541e76903f312cf71944a857c11e221c512 (patch) | |
tree | 75895fb030f02496be4854d6a7dce0bc59ad994b /src/corelib/kernel/qmetatype.h | |
parent | QMetaType: move the built-in QMetaTypeInterfaces to read-only segments (diff) | |
download | qtbase-3335b541e76903f312cf71944a857c11e221c512.tar.xz qtbase-3335b541e76903f312cf71944a857c11e221c512.zip |
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.h | 7 |
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> { |