🚨 fix warnings

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

No files matched your search

+2 -1
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()));
}
}