optional: use #if instead of #ifndef in test, fixes #3859 (#5183)

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-05-18 22:34:13 +02:00
committed by GitHub
parent 58cfecf7f7
commit 1d7688aef2
+1 -1
View File
@@ -1761,7 +1761,7 @@ TEST_CASE("std::filesystem::path")
} }
#endif #endif
#ifndef JSON_USE_IMPLICIT_CONVERSIONS #if !JSON_USE_IMPLICIT_CONVERSIONS
TEST_CASE("std::optional") TEST_CASE("std::optional")
{ {
SECTION("null") SECTION("null")