From 01eb8253196672c969a39587e90b49321a182428 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:19:14 +0200 Subject: 5.1 --- lib/statistics.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'lib/statistics.cpp') 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 -#include -#include "status_handler.h" -#include #include +#include #include +#include #include #include +#include using namespace zen; @@ -29,11 +28,11 @@ RetrieveStatistics::~RetrieveStatistics() std::for_each(data.begin(), data.end(), [&](const StatEntry& entry) { - outputFile.Write(toString(entry.time)); + outputFile.Write(numberTo(entry.time)); outputFile.Write(wxT(";")); - outputFile.Write(toString(entry.objects)); + outputFile.Write(numberTo(entry.objects)); outputFile.Write(wxT(";")); - outputFile.Write(toString(entry.value)); + outputFile.Write(numberTo(entry.value)); outputFile.Write(wxT("\n")); }); } -- cgit