From efff8c2d1b53f4e8862b9fd43353c23aef2982c7 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 17 Aug 2021 10:49:42 +0200 Subject: [PATCH] :alembic: update warning flags --- test/src/unit-items.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/src/unit-items.cpp b/test/src/unit-items.cpp index 1b0367bfa..f86e64cb9 100644 --- a/test/src/unit-items.cpp +++ b/test/src/unit-items.cpp @@ -42,6 +42,8 @@ using nlohmann::json; // This test suite uses range for loops where values are copied. This is inefficient in usual code, but required to achieve 100% coverage. DOCTEST_GCC_SUPPRESS_WARNING_PUSH DOCTEST_GCC_SUPPRESS_WARNING("-Wrange-loop-construct") +DOCTEST_CLANG_SUPPRESS_WARNING_PUSH +DOCTEST_CLANG_SUPPRESS_WARNING("-Wrange-loop-construct") TEST_CASE("iterator_wrapper") { @@ -1462,3 +1464,4 @@ TEST_CASE("items()") #endif DOCTEST_GCC_SUPPRESS_WARNING_POP +DOCTEST_CLANG_SUPPRESS_WARNING_POP