add test for #4440

This commit is contained in:
Niels Lohmann 2024-11-17 11:29:52 +01:00
parent 230b35dc15
commit b456b88dde
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

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