Use bool for the template argument.
It is only ever called with 'true' or 'false'. Change-Id: Ibaba1c964cebb3ac75a230471a7a6547c2245039 Reviewed-by: Kent Hansen <kent.hansen@nokia.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>bb10
parent
4b09230d97
commit
465c9f4a7e
|
|
@ -611,7 +611,7 @@ bool QMetaType::isRegistered(int type)
|
|||
|
||||
Implementation of QMetaType::type().
|
||||
*/
|
||||
template <int tryNormalizedType>
|
||||
template <bool tryNormalizedType>
|
||||
static inline int qMetaTypeTypeImpl(const char *typeName)
|
||||
{
|
||||
int length = qstrlen(typeName);
|
||||
|
|
|
|||
Loading…
Reference in New Issue