mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Replace min, max, clamp functions with std counterparts
This commit is contained in:
@@ -1063,7 +1063,7 @@ qlonglong TorrentImpl::eta() const
|
||||
seedingTimeEta = 0;
|
||||
}
|
||||
|
||||
return qMin(ratioEta, seedingTimeEta);
|
||||
return std::min(ratioEta, seedingTimeEta);
|
||||
}
|
||||
|
||||
if (!speedAverage.download) return MAX_ETA;
|
||||
|
||||
Reference in New Issue
Block a user