commit | 230b35dc157bc2eb40c4990d07b000dd6c423683 | [log] [tgz] |
---|---|---|
author | Niels Lohmann <mail@nlohmann.me> | Sun Nov 17 11:19:20 2024 +0100 |
committer | Niels Lohmann <mail@nlohmann.me> | Sun Nov 17 11:19:20 2024 +0100 |
tree | 615cb11f2504b0dcd3f2655788eb5ee40f7f27a1 | |
parent | b66f685f48c564fad73370522fdf24a3828e721c [diff] |
:white_check_mark: add test for #4440
diff --git a/tests/src/unit-regression2.cpp b/tests/src/unit-regression2.cpp index 93b2ca1..9da40e5 100644 --- a/tests/src/unit-regression2.cpp +++ b/tests/src/unit-regression2.cpp
@@ -43,7 +43,7 @@ #endif // for #4440 -#ifdef JSON_HAS_RANGES +#if JSON_HAS_RANGES == 1 #include <ranges> #endif @@ -944,7 +944,7 @@ CHECK(p.y == 2); } -#ifdef JSON_HAS_RANGES +#if JSON_HAS_RANGES == 1 SECTION("issue 4440") { auto noOpFilter = std::views::filter([](auto&&)