From 1d7688aef2e7b6f9d11644702f8ce7533aa1fb20 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 18 May 2026 22:34:13 +0200 Subject: [PATCH] optional: use #if instead of #ifndef in test, fixes #3859 (#5183) 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 4581fa660..7542ef630 100644 --- a/tests/src/unit-conversions.cpp +++ b/tests/src/unit-conversions.cpp @@ -1761,7 +1761,7 @@ TEST_CASE("std::filesystem::path") } #endif -#ifndef JSON_USE_IMPLICIT_CONVERSIONS +#if !JSON_USE_IMPLICIT_CONVERSIONS TEST_CASE("std::optional") { SECTION("null")