🔥 deprecated iterator_wrapper #874

Also fixed some warnings from GCC.
This commit is contained in:
Niels Lohmann 2018-01-23 16:33:08 +01:00
parent 7eabb6ba36
commit 3c68a796df
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
10 changed files with 40 additions and 26 deletions

View file

@ -843,7 +843,7 @@ TEST_CASE("regression tests")
{
json j = json::parse("166020696663385964490");
CHECK(j.is_number_float());
CHECK(j.get<json::number_float_t>() == static_cast<json::number_float_t>(166020696663385964490.0));
CHECK(j.get<json::number_float_t>() == 166020696663385964490.0);
}
SECTION("issue #405 - Heap-buffer-overflow (OSS-Fuzz issue 342)")