mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Another attempt to fix OSX
This commit is contained in:
parent
4662ee0255
commit
3e0e1f668c
1 changed files with 5 additions and 2 deletions
|
@ -252,7 +252,7 @@ private:
|
|||
}
|
||||
|
||||
public:
|
||||
template <typename T2>
|
||||
template <typename T2, typename = decltype(+std::declval<const T2&>())>
|
||||
bool operator==(const T2& rhs) const noexcept
|
||||
{
|
||||
using R = simple_t<T2>;
|
||||
|
@ -277,11 +277,14 @@ public:
|
|||
return value() == rhs;
|
||||
}
|
||||
|
||||
template <typename T2>
|
||||
#if __cpp_impl_three_way_comparison >= 201711
|
||||
#else
|
||||
template <typename T2, typename = decltype(+std::declval<const T2&>())>
|
||||
bool operator!=(const T2& rhs) const noexcept
|
||||
{
|
||||
return !operator==<T2>(rhs);
|
||||
}
|
||||
#endif
|
||||
|
||||
private:
|
||||
template <typename T2>
|
||||
|
|
Loading…
Add table
Reference in a new issue