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_INTERNAL_CATCH 13 #undef JSON_CATCH 14 #undef JSON_THROW 15 #undef JSON_TRY 16 #undef JSON_LIKELY 17 #undef JSON_UNLIKELY 18 #undef JSON_DEPRECATED 19 #undef JSON_NODISCARD 20 #undef JSON_HAS_CPP_14 21 #undef JSON_HAS_CPP_17 22 #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION 23 #undef NLOHMANN_BASIC_JSON_TPL 24