🚨 fix compiler warnings #2052

This commit is contained in:
Niels Lohmann 2020-04-19 13:25:02 +02:00
parent be137609df
commit e8356928bd
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
4 changed files with 11 additions and 13 deletions

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");
}
}