From d360b7e396d16f6f22af5d900c6ddd15bd71d9d0 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 13 Aug 2022 13:11:37 +0200 Subject: [PATCH] :green_heart: fix unit test --- tests/src/unit-bson.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/src/unit-bson.cpp b/tests/src/unit-bson.cpp index a231c8cca..fa07e9d9c 100644 --- a/tests/src/unit-bson.cpp +++ b/tests/src/unit-bson.cpp @@ -10,6 +10,9 @@ #include using nlohmann::json; +#ifdef JSON_TEST_NO_GLOBAL_UDLS +using namespace nlohmann::literals; // NOLINT(google-build-using-namespace) +#endif #include #include