diff --git a/test/test_const_multiset.cpp b/test/test_const_multiset.cpp index d11c4098..cc59d41d 100644 --- a/test/test_const_multiset.cpp +++ b/test/test_const_multiset.cpp @@ -85,7 +85,7 @@ namespace return (lhs.k == rhs.k); } -#if !defined(ETL_NOT_USING_CPP23) +#if ETL_NOT_USING_CPP23 // Equality operator for Key != Key constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept { diff --git a/test/test_const_multiset_ext.cpp b/test/test_const_multiset_ext.cpp index 1dcee7dd..781ce4e6 100644 --- a/test/test_const_multiset_ext.cpp +++ b/test/test_const_multiset_ext.cpp @@ -86,7 +86,7 @@ namespace return (lhs.k == rhs.k); } -#if !defined(ETL_NOT_USING_CPP23) +#if ETL_NOT_USING_CPP23 // Equality operator for Key != Key constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept {