diff --git a/tests/src/unit-regression2.cpp b/tests/src/unit-regression2.cpp index 9da40e536..90a463073 100644 --- a/tests/src/unit-regression2.cpp +++ b/tests/src/unit-regression2.cpp @@ -947,7 +947,7 @@ TEST_CASE("regression tests 2") #if JSON_HAS_RANGES == 1 SECTION("issue 4440") { - auto noOpFilter = std::views::filter([](auto&&) + auto noOpFilter = std::views::filter([](auto&&) noexcept { return true; });