Attempted fixes for MacOS compilation

This commit is contained in:
John Wellbelove 2025-09-04 13:51:32 +01:00
parent 57e52ba217
commit dffb611036
3 changed files with 6 additions and 0 deletions

View File

@ -85,11 +85,13 @@ namespace
return (lhs.k == rhs.k);
}
#if !defined(ETL_DEVELOPMENT_OS_APPLE)
// Equality operator for Key != Key
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
{
return !(lhs.k == rhs.k);
}
#endif
#define TEST_GREATER_THAN
#ifdef TEST_GREATER_THAN

View File

@ -86,11 +86,13 @@ namespace
return (lhs.k == rhs.k);
}
#if !defined(ETL_DEVELOPMENT_OS_APPLE)
// Equality operator for Key != Key
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
{
return !(lhs.k == rhs.k);
}
#endif
#define TEST_GREATER_THAN
#ifdef TEST_GREATER_THAN

View File

@ -88,11 +88,13 @@ namespace
return (lhs.k == rhs.k);
}
#if !defined(ETL_DEVELOPMENT_OS_APPLE)
// Equality operator for Key != Key
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
{
return !(lhs.k == rhs.k);
}
#endif
#define TEST_GREATER_THAN
#ifdef TEST_GREATER_THAN