2018-01-10 12:18:31 +03:00
|
|
|
#pragma once
|
2017-08-14 15:59:17 +03:00
|
|
|
|
2021-08-17 15:43:43 +03:00
|
|
|
// restore clang diagnostic settings
|
2017-08-14 15:59:17 +03:00
|
|
|
#if defined(__clang__)
|
2021-08-17 15:43:43 +03:00
|
|
|
#pragma clang diagnostic pop
|
2017-08-14 15:59:17 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// clean up
|
2020-07-06 13:22:31 +03:00
|
|
|
#undef JSON_ASSERT
|
2018-07-19 09:43:41 +03:00
|
|
|
#undef JSON_INTERNAL_CATCH
|
2017-08-14 15:59:17 +03:00
|
|
|
#undef JSON_THROW
|
2020-08-12 14:30:06 +03:00
|
|
|
#undef JSON_PRIVATE_UNLESS_TESTED
|
2017-08-14 15:59:17 +03:00
|
|
|
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
|
|
|
|
#undef NLOHMANN_BASIC_JSON_TPL
|
2020-07-16 12:11:35 +03:00
|
|
|
#undef JSON_EXPLICIT
|
2021-10-07 13:32:25 +03:00
|
|
|
#undef NLOHMANN_CAN_CALL_STD_FUNC_IMPL
|
2022-05-29 14:08:06 +03:00
|
|
|
#undef JSON_INLINE_VARIABLE
|
2022-04-29 22:40:02 +03:00
|
|
|
#undef JSON_NO_UNIQUE_ADDRESS
|
2019-07-01 23:24:39 +03:00
|
|
|
|
2022-03-24 09:54:07 +03:00
|
|
|
#ifndef JSON_TEST_KEEP_MACROS
|
|
|
|
|
#undef JSON_CATCH
|
|
|
|
|
#undef JSON_TRY
|
|
|
|
|
#undef JSON_HAS_CPP_11
|
|
|
|
|
#undef JSON_HAS_CPP_14
|
|
|
|
|
#undef JSON_HAS_CPP_17
|
|
|
|
|
#undef JSON_HAS_CPP_20
|
|
|
|
|
#undef JSON_HAS_FILESYSTEM
|
|
|
|
|
#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
|
|
|
|
#undef JSON_HAS_THREE_WAY_COMPARISON
|
2022-05-29 14:08:06 +03:00
|
|
|
#undef JSON_HAS_RANGES
|
|
|
|
|
#undef JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
|
2022-03-24 09:54:07 +03:00
|
|
|
#endif
|
|
|
|
|
|
2019-07-01 23:24:39 +03:00
|
|
|
#include <nlohmann/thirdparty/hedley/hedley_undef.hpp>
|