⚗️ update warning flags

This commit is contained in:
Niels Lohmann 2021-08-17 11:42:20 +02:00
parent 49f78e0e15
commit bfeac776b9
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -29,6 +29,9 @@ SOFTWARE.
#include "doctest_compatibility.h"
DOCTEST_GCC_SUPPRESS_WARNING_PUSH
DOCTEST_GCC_SUPPRESS_WARNING("-Wnoexcept")
#include <nlohmann/json.hpp>
using json = nlohmann::json;
@ -64,3 +67,5 @@ TEST_CASE("Tests with disabled exceptions")
delete sax_no_exception::error_string; // NOLINT(cppcoreguidelines-owning-memory)
}
}
DOCTEST_GCC_SUPPRESS_WARNING_POP