Overwork warning flags (#2936)

* ⚗️ update warning flags
This commit is contained in:
Niels Lohmann authored and GitHub committed 2021-08-17 14:43:43 +02:00
1 parent f1e63a8322
commit 8cae9d7cd2
20 files changed
+123 -38

No files matched your search

+6
View File
@@ -53,6 +53,10 @@ using nlohmann::json;
#include <span>
#endif
// NLOHMANN_JSON_SERIALIZE_ENUM uses a static std::pair
DOCTEST_CLANG_SUPPRESS_WARNING_PUSH
DOCTEST_CLANG_SUPPRESS_WARNING("-Wexit-time-destructors")
/////////////////////////////////////////////////////////////////////
// for #1021
/////////////////////////////////////////////////////////////////////
@@ -656,3 +660,5 @@ TEST_CASE("regression tests 2")
static_assert(std::is_copy_assignable<nlohmann::ordered_json>::value, "");
}
}
DOCTEST_CLANG_SUPPRESS_WARNING_POP