diff --git a/tests/auto/corelib/tools/qmap/tst_qmap.cpp b/tests/auto/corelib/tools/qmap/tst_qmap.cpp index 695d9801ceb..bae3e6eed6b 100644 --- a/tests/auto/corelib/tools/qmap/tst_qmap.cpp +++ b/tests/auto/corelib/tools/qmap/tst_qmap.cpp @@ -1841,12 +1841,6 @@ void tst_QMap::equal_range() QCOMPARE(map.count(1), 2); } -template -const T &const_(const T &t) -{ - return t; -} - void tst_QMap::insert() { QMap map;