1 #pragma once 2 3 // restore GCC/clang diagnostic settings 4 #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) 5 #pragma GCC diagnostic pop 6 #endif 7 #if defined(__clang__) 8 #pragma GCC diagnostic pop 9 #endif 10 11 // clean up 12 #undef JSON_ASSERT 13 #undef JSON_INTERNAL_CATCH 14 #undef JSON_CATCH 15 #undef JSON_THROW 16 #undef JSON_TRY 17 #undef JSON_HAS_CPP_14 18 #undef JSON_HAS_CPP_17 19 #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION 20 #undef NLOHMANN_BASIC_JSON_TPL 21 #undef JSON_EXPLICIT 22 23 #include <nlohmann/thirdparty/hedley/hedley_undef.hpp> 24