diff options
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 a7f7595..e8a9d6e 100644 --- a/c/debug.cpp +++ b/c/debug.cpp @@ -19,13 +19,13 @@ Benchmark::Benchmark(const char* const name, const int id, const int avgmax) { if (!freq) { if (!QueryPerformanceFrequency(&liFreq)) - throw Win32Error{}; + throw Win32Error(); freq = liFreq.QuadPart; } LARGE_INTEGER liTicks; if (!QueryPerformanceCounter(&liTicks)) - throw Win32Error{}; + throw Win32Error(); ticks = liTicks.QuadPart; } |