From c9f1a1ec0a3fe8ddecb726d23f33b1a1b91e27e8 Mon Sep 17 00:00:00 2001 From: Anthony Van Herrewege Date: Thu, 9 Sep 2021 15:49:21 +0200 Subject: [PATCH] Enable access to private members in diagnostics unit tests. --- test/src/unit-diagnostics.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/src/unit-diagnostics.cpp b/test/src/unit-diagnostics.cpp index c465cda6e..a835dff32 100644 --- a/test/src/unit-diagnostics.cpp +++ b/test/src/unit-diagnostics.cpp @@ -34,6 +34,7 @@ SOFTWARE. #endif #define JSON_DIAGNOSTICS 1 +#define JSON_TESTS_PRIVATE #include using nlohmann::json;