diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-08-17 14:24:52 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-08-17 17:19:35 (GMT) |
commit | f7dd01f5dfb46bffee919fa50193f895fe7a4a83 (patch) | |
tree | c6caa1a335bf7d411994fd336c5b3aa1e7ccb9e0 | |
parent | 08a9924cc69e0c44aae1abfd8500cd62f6e3d73a (diff) | |
download | Qt-f7dd01f5dfb46bffee919fa50193f895fe7a4a83.zip Qt-f7dd01f5dfb46bffee919fa50193f895fe7a4a83.tar.gz Qt-f7dd01f5dfb46bffee919fa50193f895fe7a4a83.tar.bz2 |
Workaround what seems to be a compiler parser bug
The workaround seems harmless, otherwise. Maybe even standard-compliant
(14.2.4 [temp.names])
$ gcc --version
sbox-arm-none-linux-gnueabi-gcc (cs2009q1-eglibc2.8-armv7) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
Reviewed-by: Olivier Goffart
-rw-r--r-- | src/corelib/kernel/qvariant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h index 432b708..a4d45f6 100644 --- a/src/corelib/kernel/qvariant.h +++ b/src/corelib/kernel/qvariant.h @@ -589,7 +589,7 @@ inline QT_DEPRECATED T qVariantValue(const QVariant &variant) template<typename T> inline QT_DEPRECATED bool qVariantCanConvert(const QVariant &variant) -{ return variant.canConvert<T>(); } +{ return variant.template canConvert<T>(); } #endif #endif |