diff --git a/src/openrct2-ui/windows/GuestList.cpp b/src/openrct2-ui/windows/GuestList.cpp index c60d455790..1871352059 100644 --- a/src/openrct2-ui/windows/GuestList.cpp +++ b/src/openrct2-ui/windows/GuestList.cpp @@ -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); }