From 73ae8f4d85327b94725217756fd2562c6fae00c1 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 4 Sep 2025 14:26:01 +0100 Subject: [PATCH] Attempted fixes for MacOS compilation --- test/test_const_multiset.cpp | 2 +- test/test_const_multiset_ext.cpp | 2 +- test/test_const_multiset_ext_constexpr.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_const_multiset.cpp b/test/test_const_multiset.cpp index ad54fadf..d11c4098 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_DEVELOPMENT_OS_APPLE) +#if !defined(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 2c899cac..1dcee7dd 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_DEVELOPMENT_OS_APPLE) +#if !defined(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_constexpr.cpp b/test/test_const_multiset_ext_constexpr.cpp index 03509be6..e678214a 100644 --- a/test/test_const_multiset_ext_constexpr.cpp +++ b/test/test_const_multiset_ext_constexpr.cpp @@ -88,7 +88,7 @@ namespace return (lhs.k == rhs.k); } -#if !defined(ETL_DEVELOPMENT_OS_APPLE) +#if ETL_NOT_USING_CPP23 // Equality operator for Key != Key constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept {