Merge pull request #2053 from nlohmann/gcc10warnings

Fix GCC compiler warnings
This commit is contained in:
Niels Lohmann authored and GitHub committed 2020-04-20 08:05:42 +02:00
commit 3607687a14
4 files changed
+11 -13

No files matched your search

+3 -3
View File
@@ -272,8 +272,8 @@ TEST_CASE("bad my_allocator::construct")
double,
allocator_no_forward>;
bad_alloc_json json;
json["test"] = bad_alloc_json::array_t();
json["test"].push_back("should not leak");
bad_alloc_json j;
j["test"] = bad_alloc_json::array_t();
j["test"].push_back("should not leak");
}
}