mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-11 09:18:40 +12:00
Remove some redundant code
Potential fix for future warnings.
This commit is contained in:
parent
5dfe3f414d
commit
5bdd1cf837
3 changed files with 2 additions and 5 deletions
|
@ -533,7 +533,7 @@ constexpr inline struct umax_helper
|
|||
#if __cpp_impl_three_way_comparison >= 201711 && !__INTELLISENSE__
|
||||
#else
|
||||
template <typename T>
|
||||
friend constexpr std::enable_if_t<std::is_unsigned_v<simple_t<T>>, bool> operator==(const T& lhs, const umax_helper& rhs)
|
||||
friend constexpr std::enable_if_t<std::is_unsigned_v<simple_t<T>>, bool> operator==(const T& lhs, const umax_helper&)
|
||||
{
|
||||
return lhs == static_cast<simple_t<T>>(-1);
|
||||
}
|
||||
|
@ -548,7 +548,7 @@ constexpr inline struct umax_helper
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
friend constexpr std::enable_if_t<std::is_unsigned_v<simple_t<T>>, bool> operator!=(const T& lhs, const umax_helper& rhs)
|
||||
friend constexpr std::enable_if_t<std::is_unsigned_v<simple_t<T>>, bool> operator!=(const T& lhs, const umax_helper&)
|
||||
{
|
||||
return lhs != static_cast<simple_t<T>>(-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue