🚨 fix warnings

This commit is contained in:
Niels Lohmann
2020-12-16 21:44:35 +01:00
parent af8c6e7aa9
commit c026e1a475
7 changed files with 83 additions and 51 deletions

View File

@@ -1201,7 +1201,8 @@ TEST_CASE("Unicode" * doctest::skip())
SECTION("with an iterator")
{
std::string i = "\xef\xbb\xbf{\n \"foo\": true\n}";
CHECK_NOTHROW(json::parse(i.begin(), i.end()));
json _;
CHECK_NOTHROW(_ = json::parse(i.begin(), i.end()));
}
}