From 6c4e4e4d6662b47a1fb34e4ec19b49c75c393cde Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 18 May 2026 15:25:34 +0200 Subject: [PATCH] optional: use #if instead of #ifndef in test, fixes #3859 Signed-off-by: Niels Lohmann --- tests/src/unit-conversions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-conversions.cpp b/tests/src/unit-conversions.cpp index 81b8608fb8..d63f8521e8 100644 --- a/tests/src/unit-conversions.cpp +++ b/tests/src/unit-conversions.cpp @@ -1683,7 +1683,7 @@ TEST_CASE("std::filesystem::path") } #endif -#ifndef JSON_USE_IMPLICIT_CONVERSIONS +#if !JSON_USE_IMPLICIT_CONVERSIONS TEST_CASE("std::optional") { SECTION("null")