Mark GuestList::FilterArguments comparisons const

This commit is contained in:
Aaron van Geffen committed 2024-02-27 17:20:05 +01:00
1 parent ffcb2b8c82
commit da0bbb2019
1 file changed
+2 -2
+2 -2
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);
}