aboutsummaryrefslogtreecommitdiff
path: root/c/win.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/win.h')
-rw-r--r--c/win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/win.h b/c/win.h
index 038f8ea..1615985 100644
--- a/c/win.h
+++ b/c/win.h
@@ -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);