mirror of
https://github.com/nlohmann/json.git
synced 2025-07-29 23:01:16 +03:00
🚨 fixed a compiler warning
This commit is contained in:
@ -1493,7 +1493,7 @@ TEST_CASE("regression tests")
|
||||
)";
|
||||
|
||||
// define parser callback
|
||||
json::parser_callback_t cb = [](int depth, json::parse_event_t event, json & parsed)
|
||||
json::parser_callback_t cb = [](int /*depth*/, json::parse_event_t event, json & parsed)
|
||||
{
|
||||
// skip object elements with key "Thumbnail"
|
||||
if (event == json::parse_event_t::key and parsed == json("Thumbnail"))
|
||||
|
Reference in New Issue
Block a user