1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Unused function

This commit is contained in:
Ivan Sorokin 2014-11-02 18:20:28 +03:00
parent d62498b48c
commit 0d311062f3

View File

@ -48,7 +48,6 @@ public:
SpeedSample() {}
void addSample(int speedDL, int speedUL);
Sample<qreal> average() const;
void clear();
private:
static const int max_samples = 30;
@ -92,11 +91,6 @@ Sample<qreal> SpeedSample::average() const
return Sample<qreal>(sumDL/numSamples, sumUL/numSamples);
}
void SpeedSample::clear()
{
m_speedSamples.clear();
}
void TorrentSpeedMonitor::removeSamples(const QString &hash)
{
m_samples.remove(hash);