| 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_HAS_CPP_14 |
| 17 | #undef JSON_HAS_CPP_17 |
| 18 | #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION |
| 19 | #undef NLOHMANN_BASIC_JSON_TPL |
| 20 | |
| 21 | #include <nlohmann/thirdparty/hedley/hedley_undef.hpp> |
| 22 |