From a131ecc059afa172b86710e974c270e8cfbe6dd0 Mon Sep 17 00:00:00 2001 From: Raphael Grimm Date: Sat, 30 Oct 2021 23:04:37 +0200 Subject: [PATCH] Fix code for msvc --- tests/src/unit-custom-base-class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-custom-base-class.cpp b/tests/src/unit-custom-base-class.cpp index f3efbeac2..14e6089bc 100644 --- a/tests/src/unit-custom-base-class.cpp +++ b/tests/src/unit-custom-base-class.cpp @@ -307,7 +307,7 @@ TEST_CASE("JSON Visit Node") const json_with_visitor_t& j) { std::stringstream str; - str << p << " - " ; + str << p.to_string() << " - " ; using value_t = nlohmann::detail::value_t; switch(j.type()) {