Mark GuestList::FilterArguments comparisons const

This commit is contained in:
Aaron van Geffen 2024-02-27 17:20:05 +01:00
parent ffcb2b8c82
commit da0bbb2019
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}