♻️ 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

+1 -2
View File
@@ -33,10 +33,9 @@ DOCTEST_GCC_SUPPRESS_WARNING("-Wfloat-equal")
// for some reason including this after the json header leads to linker errors with VS 2017...
#include <locale>
#define private public
#define JSON_TESTS_PRIVATE
#include <nlohmann/json.hpp>
using nlohmann::json;
#undef private
#include <fstream>
#include <sstream>