mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-03 21:25:04 -06:00
Another attempt to fix OSX
This commit is contained in:
parent
4662ee0255
commit
3e0e1f668c
@ -252,7 +252,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
template <typename T2>
|
template <typename T2, typename = decltype(+std::declval<const T2&>())>
|
||||||
bool operator==(const T2& rhs) const noexcept
|
bool operator==(const T2& rhs) const noexcept
|
||||||
{
|
{
|
||||||
using R = simple_t<T2>;
|
using R = simple_t<T2>;
|
||||||
@ -277,11 +277,14 @@ public:
|
|||||||
return value() == rhs;
|
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
|
bool operator!=(const T2& rhs) const noexcept
|
||||||
{
|
{
|
||||||
return !operator==<T2>(rhs);
|
return !operator==<T2>(rhs);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
private:
|
private:
|
||||||
template <typename T2>
|
template <typename T2>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user