mirror of
https://github.com/nlohmann/json
synced 2024-11-30 23:50:08 +00:00
🚨 fix warning
This commit is contained in:
parent
5fe6b83c26
commit
dd7e25927f
@ -1587,7 +1587,7 @@ TEST_CASE("parser class")
|
|||||||
CHECK (j_filtered1.size() == 2);
|
CHECK (j_filtered1.size() == 2);
|
||||||
CHECK (j_filtered1 == json({1, {{"qux", "baz"}}}));
|
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)
|
if (e == json::parse_event_t::object_end)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user