mirror of
https://github.com/nlohmann/json.git
synced 2025-06-08 02:32:37 +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
|
#endif
|
||||||
|
|
||||||
// for #4440
|
// for #4440
|
||||||
#ifdef JSON_HAS_RANGES
|
#if JSON_HAS_RANGES == 1
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1101,7 +1101,7 @@ TEST_CASE("regression tests 2")
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef JSON_HAS_RANGES
|
#if JSON_HAS_RANGES == 1
|
||||||
SECTION("issue 4440")
|
SECTION("issue 4440")
|
||||||
{
|
{
|
||||||
auto noOpFilter = std::views::filter([](auto&&)
|
auto noOpFilter = std::views::filter([](auto&&)
|
||||||
|
Loading…
Reference in New Issue
Block a user