mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -307,9 +307,4 @@ bool ResourcePack::operator==(const ResourcePack& pack) const
|
||||
return pack.GetPath() == m_path;
|
||||
}
|
||||
|
||||
bool ResourcePack::operator!=(const ResourcePack& pack) const
|
||||
{
|
||||
return !operator==(pack);
|
||||
}
|
||||
|
||||
} // namespace ResourcePack
|
||||
|
Reference in New Issue
Block a user