diff options
author | John Ankarström <john@ankarstrom.se> | 2022-09-03 15:28:56 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-09-03 15:28:56 +0200 |
commit | 6ae7e24675cff4ff6b808c3024f45083f35ced97 (patch) | |
tree | 2a47273f325d8367db2a8669691273f02ca83eb9 /c/debug.h | |
parent | 2cd22c671c67deaf2c1fcb659e3262bf57552557 (diff) | |
download | EpisodeBrowser-6ae7e24675cff4ff6b808c3024f45083f35ced97.tar.gz |
Improve error handling.
Diffstat (limited to 'c/debug.h')
-rw-r--r-- | c/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ struct Benchmark ~Benchmark(); /* Don't print time on destruction. */ - void Disable(); + void Disable() noexcept; long long ticks; bool disabled = false; @@ -23,6 +23,6 @@ struct Benchmark }; /* Return name of given window message (WM_*). */ -const char* WmName(UINT uMsg); +const char* WmName(UINT uMsg) noexcept; #endif |