Mark ObjectLoadError::DownloadStatusInfo comparisons const

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