UICommon/ResourcePack: Provide inequality operator to complement equality operator

Provides symmetrical behavior with the equality operator.
This commit is contained in:
Lioncash
2019-03-13 15:55:16 -04:00
parent 9d096a5e16
commit 6045b44203
2 changed files with 6 additions and 0 deletions

View File

@ -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