diff --git a/src/json.hpp b/src/json.hpp index 3345cf2db..90a48538a 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -13886,6 +13886,9 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std #if defined(__clang__) || defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic pop #endif +#if defined(__clang__) + #pragma GCC diagnostic pop +#endif // clean up #undef JSON_CATCH