mirror of
https://github.com/nlohmann/json.git
synced 2026-02-12 12:42:18 +00:00
♻️ remove "#define private public"
This commit is contained in:
@@ -30,10 +30,9 @@ SOFTWARE.
|
||||
#include "doctest_compatibility.h"
|
||||
DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
|
||||
|
||||
#define private public
|
||||
#define JSON_TESTS_PRIVATE
|
||||
#include <nlohmann/json.hpp>
|
||||
using nlohmann::json;
|
||||
#undef private
|
||||
|
||||
#include <deque>
|
||||
#include <forward_list>
|
||||
|
||||
Reference in New Issue
Block a user