mirror of
https://github.com/nlohmann/json.git
synced 2025-06-07 19:42:48 +08:00
# This is a combination of 3 commits.
# This is the 1st commit message: ✅ add test for #4440 Signed-off-by: Niels Lohmann <mail@nlohmann.me> # Conflicts: # tests/src/unit-regression2.cpp # This is the commit message #2: ✅ add test for #4440 # This is the commit message #3: ✅ add test for #4440 Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
parent
b4a5a4fbbc
commit
6cbf2b205a
@ -51,7 +51,7 @@ using ordered_json = nlohmann::ordered_json;
|
||||
#endif
|
||||
|
||||
// for #4440
|
||||
#ifdef JSON_HAS_RANGES
|
||||
#if JSON_HAS_RANGES == 1
|
||||
#include <ranges>
|
||||
#endif
|
||||
|
||||
@ -1101,7 +1101,7 @@ TEST_CASE("regression tests 2")
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef JSON_HAS_RANGES
|
||||
#if JSON_HAS_RANGES == 1
|
||||
SECTION("issue 4440")
|
||||
{
|
||||
auto noOpFilter = std::views::filter([](auto&&)
|
||||
|
Loading…
Reference in New Issue
Block a user