1
0
mirror of https://github.com/nlohmann/json synced 2024-11-30 15:40:07 +00:00

🚨 fix warning

This commit is contained in:
Niels Lohmann 2020-06-05 08:27:15 +02:00
parent 5fe6b83c26
commit dd7e25927f
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -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)
{