2018-01-10 17:18:31 +08:00
|
|
|
#pragma once
|
2017-08-14 20:59:17 +08:00
|
|
|
|
2021-08-17 20:43:43 +08:00
|
|
|
// restore clang diagnostic settings
|
2017-08-14 20:59:17 +08:00
|
|
|
#if defined(__clang__)
|
2021-08-17 20:43:43 +08:00
|
|
|
#pragma clang diagnostic pop
|
2017-08-14 20:59:17 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// clean up
|
2020-07-06 18:22:31 +08:00
|
|
|
#undef JSON_ASSERT
|
2018-07-19 14:43:41 +08:00
|
|
|
#undef JSON_INTERNAL_CATCH
|
2017-08-14 20:59:17 +08:00
|
|
|
#undef JSON_THROW
|
2020-08-12 19:30:06 +08:00
|
|
|
#undef JSON_PRIVATE_UNLESS_TESTED
|
2017-08-14 20:59:17 +08:00
|
|
|
#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
|
|
|
|
#undef NLOHMANN_BASIC_JSON_TPL
|
2020-07-16 17:11:35 +08:00
|
|
|
#undef JSON_EXPLICIT
|
2021-10-07 18:32:25 +08:00
|
|
|
#undef NLOHMANN_CAN_CALL_STD_FUNC_IMPL
|
2019-07-02 04:24:39 +08:00
|
|
|
|
2022-03-24 14:54:07 +08: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
|
|
|
|
#endif
|
|
|
|
|
2019-07-02 04:24:39 +08:00
|
|
|
#include <nlohmann/thirdparty/hedley/hedley_undef.hpp>
|