mirror of https://github.com/OpenRCT2/OpenRCT2.git
Mark GuestList::FilterArguments comparisons const
This commit is contained in:
parent
ffcb2b8c82
commit
da0bbb2019
|
@ -104,11 +104,11 @@ private:
|
|||
return firstStrId;
|
||||
}
|
||||
|
||||
bool operator==(const FilterArguments& other)
|
||||
bool operator==(const FilterArguments& other) const
|
||||
{
|
||||
return std::memcmp(args, other.args, sizeof(args)) == 0;
|
||||
}
|
||||
bool operator!=(const FilterArguments& other)
|
||||
bool operator!=(const FilterArguments& other) const
|
||||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue