♻️ remove "#define private public"

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

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>