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