diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp index 448b6e3938..48cabeb636 100644 --- a/src/corelib/kernel/qmetatype.cpp +++ b/src/corelib/kernel/qmetatype.cpp @@ -611,7 +611,7 @@ bool QMetaType::isRegistered(int type) Implementation of QMetaType::type(). */ -template +template static inline int qMetaTypeTypeImpl(const char *typeName) { int length = qstrlen(typeName);