summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/kernel/qvariant.h2
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