From 2d3091ff9f19883f913540e5d56be2cdd22c58ba Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 5 Jan 2022 21:29:34 +0100 Subject: [PATCH] :alembic: try std::initializer_list --- 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 21d0b13ef..8fb7380ec 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::initializer_list_t j // leak + std::initializer_list j // leak { {"smth", f_3215(true)}, // exception thrown here {"smth", f_3215(false)}