mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Attempted fixes for MacOS compilation
This commit is contained in:
parent
0deb855676
commit
2d1af2dfb6
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user