mirror of
https://github.com/nlohmann/json.git
synced 2026-10-10 00:17:13 +00:00
Merge pull request #540 from tinloaf/diagnostics
Properly pop diagnostics
This commit is contained in:
commit
7881783745
2 files changed
+6
No files matched your search
@@ -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
|
||||
|
||||
@@ -12919,6 +12919,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
|
||||
|
||||
Reference in new issue
Block a user