forked from rosebudai/OpenRCT2-Web
Mark ObjectLoadError::DownloadStatusInfo comparisons const
This commit is contained in:
1 parent
da0bbb2019
commit
989a4dddbd
1 file changed
+2
-2
@@ -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