diff options
author | John Ankarström <john@ankarstrom.se> | 2022-09-07 23:33:08 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-09-07 23:33:08 +0200 |
commit | b5917be252caf9d38ae9466352c4176ef25732e3 (patch) | |
tree | 8eee2398b84cd533999a6d6f7539131daef5acfd /c/debug.cpp | |
parent | ac7d676a1c457f71f1d3ae17d74699dd95c9c985 (diff) | |
download | EpisodeBrowser-b5917be252caf9d38ae9466352c4176ef25732e3.tar.gz |
Simplify Err message format.
Diffstat (limited to 'c/debug.cpp')
-rw-r--r-- | c/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/debug.cpp b/c/debug.cpp index dbd536e..aa61c9c 100644 --- a/c/debug.cpp +++ b/c/debug.cpp @@ -20,13 +20,13 @@ Benchmark::Benchmark(const char* const name, const int id, const int avgmax) { if (!freq) { if (!QueryPerformanceFrequency(&liFreq)) - throw Err(WINDOWS, L"Tick frequency could not be queried: %s."); + throw Err(WINDOWS, L"Tick frequency could not be queried"); freq = liFreq.QuadPart; } LARGE_INTEGER liTicks; if (!QueryPerformanceCounter(&liTicks)) - throw Err(WINDOWS, L"Ticks could not be retrieved: %s."); + throw Err(WINDOWS, L"Ticks could not be retrieved"); ticks = liTicks.QuadPart; } |