summaryrefslogtreecommitdiff
path: root/zen/perf.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:54:58 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:54:58 +0200
commitbb807ea0fd605c486bb7ec928ad8edc819ec9c2b (patch)
tree16fdbd4d91a290d43444dd812720c42948b27754 /zen/perf.h
parent6.14 (diff)
downloadFreeFileSync-bb807ea0fd605c486bb7ec928ad8edc819ec9c2b.tar.gz
FreeFileSync-bb807ea0fd605c486bb7ec928ad8edc819ec9c2b.tar.bz2
FreeFileSync-bb807ea0fd605c486bb7ec928ad8edc819ec9c2b.zip
6.15
Diffstat (limited to 'zen/perf.h')
-rw-r--r--zen/perf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/perf.h b/zen/perf.h
index 17aeabd0..53519274 100644
--- a/zen/perf.h
+++ b/zen/perf.h
@@ -48,9 +48,9 @@ public:
const std::int64_t delta = 1000 * dist(startTime, now) / ticksPerSec_;
#ifdef ZEN_WIN
- std::ostringstream ss;
- ss << delta << " ms";
- ::MessageBoxA(nullptr, ss.str().c_str(), "Timer", 0);
+ std::wostringstream ss;
+ ss << delta << L" ms";
+ ::MessageBox(nullptr, ss.str().c_str(), L"Timer", MB_OK);
#else
std::clog << "Perf: duration: " << delta << " ms\n";
#endif
bgstack15