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:
@@ -32,10 +32,9 @@ SOFTWARE.
|
||||
// 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>
|
||||
|
||||
Reference in New Issue
Block a user