From 95f84d14882bd72b3ea052de72185d40cb4e24d5 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Thu, 10 Oct 2024 08:48:19 +0200 Subject: [PATCH] test: let the linter know that things are done on purpose sometimes --- test/entt/core/compressed_pair.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/entt/core/compressed_pair.cpp b/test/entt/core/compressed_pair.cpp index 922951289..75f56ba07 100644 --- a/test/entt/core/compressed_pair.cpp +++ b/test/entt/core/compressed_pair.cpp @@ -130,6 +130,7 @@ TEST(CompressedPair, Get) { ASSERT_EQ(pair.first(), 3); ASSERT_EQ(pair.second(), 4); + // NOLINTNEXTLINE((readability-qualified-auto) auto &[cfirst, csecond] = std::as_const(pair); ASSERT_EQ(cfirst, 3);