summaryrefslogtreecommitdiff
path: root/lib/statistics.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:14 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:19:14 +0200
commit01eb8253196672c969a39587e90b49321a182428 (patch)
tree4a3b71d7913de519744466c9227fda6461c4f0b5 /lib/statistics.cpp
parent5.0 (diff)
downloadFreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.gz
FreeFileSync-01eb8253196672c969a39587e90b49321a182428.tar.bz2
FreeFileSync-01eb8253196672c969a39587e90b49321a182428.zip
5.1
Diffstat (limited to 'lib/statistics.cpp')
-rw-r--r--lib/statistics.cpp13
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"));
});
}
bgstack15