diff --git a/test/src/unit-items.cpp b/test/src/unit-items.cpp index 12ef5e65e..1b0367bfa 100644 --- a/test/src/unit-items.cpp +++ b/test/src/unit-items.cpp @@ -41,7 +41,7 @@ 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_GCC_SUPPRESS_WARNING("-Wrange-loop-construct") TEST_CASE("iterator_wrapper") {