1
0
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:
Niels Lohmann 2018-08-18 08:15:03 +02:00
parent e33b31e6aa
commit 57faaf42ca
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

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