mirror of
https://github.com/nlohmann/json
synced 2024-11-23 12:30:06 +00:00
🚨 fixed a compiler warning
This commit is contained in:
parent
e33b31e6aa
commit
57faaf42ca
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user