summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-03-09 15:47:09 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-03-11 19:15:49 +0000
commiteded55cfbbb5816916fcef2000bc60b64246bd68 (patch)
tree66233fe7ea45386b3277265c4c44f64899a38338 /tests/auto/corelib/tools
parent91fbe3fe7812af236aa2ea3f76926de5760a7b91 (diff)
tst_qflatmap: fix -Wunused-local-typedef (Clang)
False Positive, of course, since it's used in dependent callee transparent_impl(). Amends 58e8ae5605abefd0f579586a890dc13fb381b2a3. Pick-to: 6.3 Change-Id: I7520fb7cf6bce28a5fd9381783ba349119309132 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/corelib/tools')
-rw-r--r--tests/auto/corelib/tools/qflatmap/tst_qflatmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qflatmap/tst_qflatmap.cpp b/tests/auto/corelib/tools/qflatmap/tst_qflatmap.cpp
index ae6fcd6cad..2dd6c16f13 100644
--- a/tests/auto/corelib/tools/qflatmap/tst_qflatmap.cpp
+++ b/tests/auto/corelib/tools/qflatmap/tst_qflatmap.cpp
@@ -511,7 +511,7 @@ void tst_QFlatMap::transparency_using()
{
struct StringViewCompare
{
- using is_transparent = void;
+ using is_transparent [[maybe_unused]] = void;
bool operator()(QAnyStringView lhs, QAnyStringView rhs) const
{
return lhs < rhs;