Skip to content

Commit

Permalink
✅ add test for #4440
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Nov 17, 2024
1 parent b66f685 commit 230b35d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/unit-regression2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ using ordered_json = nlohmann::ordered_json;
#endif

// for #4440
#ifdef JSON_HAS_RANGES
#if JSON_HAS_RANGES == 1
#include <ranges>
#endif

Expand Down Expand Up @@ -944,7 +944,7 @@ TEST_CASE("regression tests 2")
CHECK(p.y == 2);
}

#ifdef JSON_HAS_RANGES
#if JSON_HAS_RANGES == 1
SECTION("issue 4440")
{
auto noOpFilter = std::views::filter([](auto&&)
Expand Down

0 comments on commit 230b35d

Please sign in to comment.