🚨 fixed a compiler warning

pull/1202/head
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
1 changed files with 1 additions and 1 deletions

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