1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-31 10:24:23 +03:00

🚨 remove -Wimplicit-fallthrough warning #2348

This commit is contained in:
Niels Lohmann
2020-08-10 20:48:39 +02:00
parent 1b28a58280
commit dd8cb2acc1
3 changed files with 16 additions and 12 deletions

View File

@ -752,8 +752,9 @@ class binary_reader
return parse_cbor_internal(true, tag_handler);
}
default: // LCOV_EXCL_LINE
default: // LCOV_EXCL_LINE
JSON_ASSERT(false); // LCOV_EXCL_LINE
return false; // LCOV_EXCL_LINE
}
}