1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Mark ObjectLoadError::DownloadStatusInfo comparisons const

This commit is contained in:
Aaron van Geffen
2024-02-27 17:22:25 +01:00
parent da0bbb2019
commit 989a4dddbd

View File

@@ -42,11 +42,11 @@ private:
size_t Count{};
size_t Total{};
bool operator==(const DownloadStatusInfo& rhs)
bool operator==(const DownloadStatusInfo& rhs) const
{
return Name == rhs.Name && Source == rhs.Source && Count == rhs.Count && Total == rhs.Total;
}
bool operator!=(const DownloadStatusInfo& rhs)
bool operator!=(const DownloadStatusInfo& rhs) const
{
return !(*this == rhs);
}