diff --git a/src/corelib/kernel/qmetatype.h b/src/corelib/kernel/qmetatype.h index d3355d52eb9..f379803e4a4 100644 --- a/src/corelib/kernel/qmetatype.h +++ b/src/corelib/kernel/qmetatype.h @@ -2695,28 +2695,11 @@ constexpr const QMetaObject *QMetaType::metaObject() const return d_ptr && d_ptr->metaObjectFn ? d_ptr->metaObjectFn(d_ptr) : nullptr; } -template -constexpr const QtPrivate::QMetaTypeInterface *const qt_metaTypeArray[] = { - /* - Unique in qTryMetaTypeInterfaceForType does not have to be unique here - as we require _all_ types here to be actually complete. - We just want to have the additional type processing that exist in - QtPrivate::qTryMetaTypeInterfaceForType as opposed to the normal - QtPrivate::qMetaTypeInterfaceForType used in QMetaType::fromType - */ - QtPrivate::qTryMetaTypeInterfaceForType>()... -}; - constexpr const char *QMetaType::name() const { return d_ptr ? d_ptr->name : nullptr; } -template -constexpr const QtPrivate::QMetaTypeInterface *const qt_incomplete_metaTypeArray[] = { - QtPrivate::qTryMetaTypeInterfaceForType()... -}; - inline size_t qHash(QMetaType type, size_t seed = 0) { // We cannot use d_ptr here since the same type in different DLLs