From 66a2d18df6f70beabbd4924d12bf3d90c399635a Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 3 Jan 2022 19:53:07 +0100 Subject: [PATCH] :alembic: try to reproduce with initializer_list_t --- test/src/unit-regression2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/unit-regression2.cpp b/test/src/unit-regression2.cpp index 65683e906..9f31a2059 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -856,7 +856,7 @@ TEST_CASE("regression tests 2") try { // std::map j // no leak - nlohmann::json j // leak + nlohmann::json::initializer_list_t j // leak { {"smth", f_3215(true)}, // exception thrown here {"smth", f_3215(false)}