⚗️ try std::initializer_list<json>
This commit is contained in:
parent
6d67b59b44
commit
2d3091ff9f
@ -856,7 +856,7 @@ TEST_CASE("regression tests 2")
|
||||
try
|
||||
{
|
||||
// std::map<std::string, std::string> j // no leak
|
||||
nlohmann::json::initializer_list_t j // leak
|
||||
std::initializer_list<json> j // leak
|
||||
{
|
||||
{"smth", f_3215(true)}, // exception thrown here
|
||||
{"smth", f_3215(false)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user