summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r--tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
index 9fce79eef3..5735c4043b 100644
--- a/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
+++ b/tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp
@@ -174,7 +174,7 @@ bool isSorted(ContainerType &container, LessThan lessThan)
template <typename ContainerType>
bool isSorted(ContainerType &container)
{
- return isSorted(container, qLess<Q_TYPENAME ContainerType::value_type>());
+ return isSorted(container, qLess<typename ContainerType::value_type>());
}