diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:59:06 +0200 |
commit | 4046be06720932a57a0f49416b0144b2858824d0 (patch) | |
tree | 678c37cab05960f48923a23bb46d9e01be89d35a /library/statistics.h | |
parent | 1.19 (diff) | |
download | FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.gz FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.tar.bz2 FreeFileSync-4046be06720932a57a0f49416b0144b2858824d0.zip |
2.0
Diffstat (limited to 'library/statistics.h')
-rw-r--r-- | library/statistics.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/library/statistics.h b/library/statistics.h index 3d4179db..f0eafad8 100644 --- a/library/statistics.h +++ b/library/statistics.h @@ -2,13 +2,18 @@ #define STATISTICS_H_INCLUDED #include <vector> -#include <wx/stopwatch.h> #include <list> +#include <memory> +#include <wx/defs.h> + +class wxStopWatch; +class wxString; + class RetrieveStatistics { public: - wxDEPRECATED(RetrieveStatistics() {}) //generate compiler warnings as a reminder to remove code after measurements + wxDEPRECATED( RetrieveStatistics() ); //generate compiler warnings as a reminder to remove code after measurements ~RetrieveStatistics(); void writeEntry(const double value, const int objects); @@ -22,7 +27,7 @@ private: }; std::vector<statEntry> data; - wxStopWatch timer; + std::auto_ptr<wxStopWatch> timer; }; @@ -61,7 +66,7 @@ private: }; std::list<record> measurements; - wxStopWatch timer; + std::auto_ptr<wxStopWatch> timer; }; #endif // STATISTICS_H_INCLUDED |