diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-01-06 07:33:17 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-08 23:54:56 +0100 |
commit | 7aeccb183a827e8504d7dd8614d1ca555caf61d9 (patch) | |
tree | f8b300daa82ffe59bb8007891be05c04ab625af4 /tests/auto/corelib/tools/qalgorithms | |
parent | 7e40ea4499ff9a6a96bf71019428dbb08876a2cd (diff) | |
download | qtbase-7aeccb183a827e8504d7dd8614d1ca555caf61d9.tar.gz |
Remove the Q_TYPENAME define.
It is mostly not used (most places in Qt use typename directly), so
is already not very useful.
For example typename is used in:
QDataStream& operator<<(QDataStream& s, const QVector<T>& v)
Change-Id: I85337ad7d8d4ebbb424bfa2ab9a356456ff3e90f
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qalgorithms')
-rw-r--r-- | tests/auto/corelib/tools/qalgorithms/tst_qalgorithms.cpp | 2 |
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>()); } |