diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-11-18 10:17:19 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2022-11-18 18:02:21 +0100 |
commit | 0786405857d79f009136197d8c795750a28bf0d4 (patch) | |
tree | cb8726e8105539d2cdbc05eb662ee5c9bcf1eaca /tests/auto | |
parent | a823366f7745c235a752dc01c42276b3fa410937 (diff) |
tst_QMap: remove unused std::as_const clone
Amends d273076b4474bb473d90e996960c4c773745761a.
Pick-to: 6.4 6.2
Change-Id: Icfff438223ed10756f15e25ea52cccdf93dd47a2
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/corelib/tools/qmap/tst_qmap.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/corelib/tools/qmap/tst_qmap.cpp b/tests/auto/corelib/tools/qmap/tst_qmap.cpp index eb7658517e..577ea1e898 100644 --- a/tests/auto/corelib/tools/qmap/tst_qmap.cpp +++ b/tests/auto/corelib/tools/qmap/tst_qmap.cpp @@ -1802,12 +1802,6 @@ void tst_QMap::equal_range() QCOMPARE(map.count(1), 2); } -template <class T> -const T &const_(const T &t) -{ - return t; -} - void tst_QMap::insert() { QMap<QString, float> map; |