From dd7e25927fe7a49c81d07943c32444f0a9011665 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 5 Jun 2020 08:27:15 +0200 Subject: [PATCH] :rotating_light: fix warning --- test/src/unit-class_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/unit-class_parser.cpp b/test/src/unit-class_parser.cpp index eb2fc9ff..5fa7b37e 100644 --- a/test/src/unit-class_parser.cpp +++ b/test/src/unit-class_parser.cpp @@ -1587,7 +1587,7 @@ TEST_CASE("parser class") CHECK (j_filtered1.size() == 2); CHECK (j_filtered1 == json({1, {{"qux", "baz"}}})); - json j_filtered2 = json::parse(structured_array, [](int, json::parse_event_t e, const json & parsed) + json j_filtered2 = json::parse(structured_array, [](int, json::parse_event_t e, const json & /*parsed*/) { if (e == json::parse_event_t::object_end) {