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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user