mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-27 21:08:44 +08:00
Attempted fixes for MacOS compilation
This commit is contained in:
parent
57e52ba217
commit
dffb611036
@ -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