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