⚗️ update warning flags
This commit is contained in:
parent
20aaf33c6c
commit
af5355df1e
@ -40,8 +40,8 @@ using nlohmann::json;
|
||||
#endif
|
||||
|
||||
// This test suite uses range for loops where values are copied. This is inefficient in usual code, but required to achieve 100% coverage.
|
||||
DOCTEST_MSVC_SUPPRESS_WARNING_PUSH
|
||||
DOCTEST_MSVC_SUPPRESS_WARNING(-Wrange-loop-construct)
|
||||
DOCTEST_GCC_SUPPRESS_WARNING_PUSH
|
||||
DOCTEST_GCC_SUPPRESS_WARNING(-Wrange-loop-construct)
|
||||
|
||||
TEST_CASE("iterator_wrapper")
|
||||
{
|
||||
@ -1461,4 +1461,4 @@ TEST_CASE("items()")
|
||||
#undef JSON_HAS_CPP_14
|
||||
#endif
|
||||
|
||||
DOCTEST_MSVC_SUPPRESS_WARNING_POP
|
||||
DOCTEST_GCC_SUPPRESS_WARNING_POP
|
||||
|
||||
Loading…
Reference in New Issue
Block a user