mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
UICommon/ResourcePack: Provide inequality operator to complement equality operator
Provides symmetrical behavior with the equality operator.
This commit is contained in:
parent
9d096a5e16
commit
6045b44203
2 changed files with 6 additions and 0 deletions
|
@ -325,4 +325,9 @@ bool ResourcePack::operator==(const ResourcePack& pack) const
|
|||
return pack.GetPath() == m_path;
|
||||
}
|
||||
|
||||
bool ResourcePack::operator!=(const ResourcePack& pack) const
|
||||
{
|
||||
return !operator==(pack);
|
||||
}
|
||||
|
||||
} // namespace ResourcePack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue