Horizon
macro_unscope.hpp
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_CATCH
13 #undef JSON_THROW
14 #undef JSON_TRY
15 #undef JSON_LIKELY
16 #undef JSON_UNLIKELY
17 #undef JSON_DEPRECATED
18 #undef JSON_HAS_CPP_14
19 #undef JSON_HAS_CPP_17
20 #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
21 #undef NLOHMANN_BASIC_JSON_TPL
22 #undef NLOHMANN_JSON_HAS_HELPER