♻️ remove "#define private public"

This commit is contained in:
Niels Lohmann committed 2020-08-12 13:30:06 +02:00
1 parent b888afe5f4
commit 9d726c25d5
22 files changed
+59 -36

No files matched your search

+7
View File
@@ -83,6 +83,13 @@
#define JSON_ASSERT(x) assert(x)
#endif
// allow to access some private functions (needed by the test suite)
#if defined(JSON_TESTS_PRIVATE)
#define JSON_PRIVATE_UNLESS_TESTED public
#else
#define JSON_PRIVATE_UNLESS_TESTED private
#endif
/*!
@brief macro to briefly define a mapping between an enum and JSON
@def NLOHMANN_JSON_SERIALIZE_ENUM