diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:03:20 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:03:20 +0200 |
commit | 528635604eea1d8c679a3d038e2f00030ef72444 (patch) | |
tree | 9c3cbec29aa7d3e209939662e040b9342c9e7400 /library/statistics.h | |
parent | 3.1 (diff) | |
download | FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.gz FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.tar.bz2 FreeFileSync-528635604eea1d8c679a3d038e2f00030ef72444.zip |
3.2
Diffstat (limited to 'library/statistics.h')
-rw-r--r-- | library/statistics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/statistics.h b/library/statistics.h index fe247b47..d1b8b98b 100644 --- a/library/statistics.h +++ b/library/statistics.h @@ -39,6 +39,8 @@ public: const unsigned windowSizeRemainingTime, //time in ms const unsigned windowSizeBytesPerSecond); //time in ms + ~Statistics(); + void addMeasurement(const int objectsCurrent, const double dataCurrent); wxString getRemainingTime() const; //returns the remaining time in milliseconds wxString getBytesPerSecond() const; @@ -66,7 +68,7 @@ private: }; std::list<record> measurements; - std::auto_ptr<wxStopWatch> timer; + wxStopWatch* timer; }; #endif // STATISTICS_H_INCLUDED |