mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
Attempted fixes for MacOS compilation
This commit is contained in:
parent
b5ea03133d
commit
bb628aa25d
@ -85,7 +85,7 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP23
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// Equality operator for Key != Key
|
||||
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
|
||||
{
|
||||
|
||||
@ -87,11 +87,13 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// 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
|
||||
|
||||
@ -86,7 +86,7 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP23
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// Equality operator for Key != Key
|
||||
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
|
||||
{
|
||||
|
||||
@ -88,7 +88,7 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP23
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// Equality operator for Key != Key
|
||||
constexpr bool operator !=(const Key& lhs, const Key& rhs) noexcept
|
||||
{
|
||||
|
||||
@ -83,11 +83,13 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// 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
|
||||
|
||||
@ -89,11 +89,13 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// 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
|
||||
|
||||
@ -91,11 +91,13 @@ namespace
|
||||
return (lhs.k == rhs.k);
|
||||
}
|
||||
|
||||
#if ETL_NOT_USING_CPP20
|
||||
// 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user