diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-03 22:04:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-03 22:04:05 +0200 |
commit | ebac89ec6ae0aca646420320c019a0e1cbb79d7c (patch) | |
tree | 2506816a2280bcfb5b6a203cba35caa1dca89b71 /c/win.h | |
parent | 04daecdd21e86e7556a9462380096530228cd6ca (diff) | |
download | EpisodeBrowser-ebac89ec6ae0aca646420320c019a0e1cbb79d7c.tar.gz |
Use Pascal case for all functions.
Diffstat (limited to 'c/win.h')
-rw-r--r-- | c/win.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ auto Metric = GetSystemMetrics(I); /* Check result of Windows API call, throwing error on NULL. */ template <typename T> -inline T require(const T x) +inline T Require(const T x) { if (!x) throw Win32Error(); return x; @@ -53,7 +53,7 @@ inline T require(const T x) /* Check result of Windows API call, showing a warning on NULL. */ template <typename T> -inline T prefer(const T x) +inline T Prefer(const T x) { if (!x) { EBMessageBox(Win32Error().What(), L"System Error", MB_ICONWARNING); |