@ -180,7 +180,7 @@ namespace
{
}
T operator()(T val)
T operator()(T val) const
return val <= m_limit ? m_ret : val;
@ -84,7 +84,7 @@ TrackerEntry &TrackerEntry::operator=(const TrackerEntry &other)
return *this;
bool TrackerEntry::operator==(const TrackerEntry &other)
bool TrackerEntry::operator==(const TrackerEntry &other) const
return (QUrl(url()) == QUrl(other.url()));
@ -60,7 +60,7 @@ namespace BitTorrent
void setTier(int value);
TrackerEntry &operator=(const TrackerEntry &other);
bool operator==(const TrackerEntry &other);
bool operator==(const TrackerEntry &other) const;
libtorrent::announce_entry nativeEntry() const;