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
Stephen Kelly 2012-05-08 19:24:54 +02:00 committed by Qt by Nokia
parent 4b09230d97
commit 465c9f4a7e
1 changed files with 1 additions and 1 deletions

View File

@ -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);