Skip to content

Commit 1d7688a

Browse files
authored
optional: use #if instead of #ifndef in test, fixes #3859 (#5183)
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
1 parent 58cfecf commit 1d7688a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/src/unit-conversions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ TEST_CASE("std::filesystem::path")
17611761
}
17621762
#endif
17631763

1764-
#ifndef JSON_USE_IMPLICIT_CONVERSIONS
1764+
#if !JSON_USE_IMPLICIT_CONVERSIONS
17651765
TEST_CASE("std::optional")
17661766
{
17671767
SECTION("null")

0 commit comments

Comments
 (0)