mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Remove redundant operators !=
This commit is contained in:
parent
98c0b3a2b1
commit
f8e05f8e3c
13 changed files with 11 additions and 251 deletions
|
@ -138,14 +138,9 @@ public:
|
|||
return bs_t(0, lhs.m_data ^ rhs.m_data);
|
||||
}
|
||||
|
||||
friend constexpr bool operator ==(bs_t lhs, bs_t rhs)
|
||||
constexpr bool operator ==(bs_t rhs) const
|
||||
{
|
||||
return lhs.m_data == rhs.m_data;
|
||||
}
|
||||
|
||||
friend constexpr bool operator !=(bs_t lhs, bs_t rhs)
|
||||
{
|
||||
return lhs.m_data != rhs.m_data;
|
||||
return m_data == rhs.m_data;
|
||||
}
|
||||
|
||||
constexpr bool test_and_set(T bit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue