diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:14 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:19:14 +0200 |
commit | 01eb8253196672c969a39587e90b49321a182428 (patch) | |
tree | 4a3b71d7913de519744466c9227fda6461c4f0b5 /lib/statistics.cpp | |
parent | 5.0 (diff) | |
download | FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.gz FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.bz2 FreeFileSync-01eb8253196672c969a39587e90b49321a182428.zip |
5.1
Diffstat (limited to 'lib/statistics.cpp')
-rw-r--r-- | lib/statistics.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/statistics.cpp b/lib/statistics.cpp index 9914d455..7b3bceae 100644 --- a/lib/statistics.cpp +++ b/lib/statistics.cpp @@ -6,14 +6,13 @@ #include "statistics.h" -#include <wx/ffile.h> -#include <zen/basic_math.h> -#include "status_handler.h" -#include <wx+/format_unit.h> #include <limits> +#include <wx/ffile.h> #include <wx/stopwatch.h> +#include <zen/basic_math.h> #include <zen/assert_static.h> #include <zen/i18n.h> +#include <wx+/format_unit.h> using namespace zen; @@ -29,11 +28,11 @@ RetrieveStatistics::~RetrieveStatistics() std::for_each(data.begin(), data.end(), [&](const StatEntry& entry) { - outputFile.Write(toString<wxString>(entry.time)); + outputFile.Write(numberTo<wxString>(entry.time)); outputFile.Write(wxT(";")); - outputFile.Write(toString<wxString>(entry.objects)); + outputFile.Write(numberTo<wxString>(entry.objects)); outputFile.Write(wxT(";")); - outputFile.Write(toString<wxString>(entry.value)); + outputFile.Write(numberTo<wxString>(entry.value)); outputFile.Write(wxT("\n")); }); } |