mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
C++20: Synthesize operator!=
From operator==
The inequality operator is automatically generated by the compiler if `operator==` is defined.
This commit is contained in:
parent
b5f7a50874
commit
e8d5fb89e4
36 changed files with 0 additions and 101 deletions
|
@ -15,11 +15,6 @@ bool Location::operator==(const Location& other) const
|
|||
strcasecmp(key.c_str(), other.key.c_str()) == 0;
|
||||
}
|
||||
|
||||
bool Location::operator!=(const Location& other) const
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
bool Location::operator<(const Location& other) const
|
||||
{
|
||||
if (system != other.system)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue