aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-09-15 12:51:21 +0200
committerMartin Ridgers <[email protected]>2021-09-16 09:34:29 +0200
commit814b2775763c60238b6c5721a843d7429750fe75 (patch)
tree823eb3ff0f3ca1b9aa0022e6afb8754308c35b5b /zencore/include
parentGetWindowsErrorAsString() -> GetErrorAsString() (diff)
downloadzen-814b2775763c60238b6c5721a843d7429750fe75.tar.xz
zen-814b2775763c60238b6c5721a843d7429750fe75.zip
MakeWin32ErrorCode() -> MakeErrorCode()
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/except.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/include/zencore/except.h b/zencore/include/zencore/except.h
index 5e0f580f2..5b4a49364 100644
--- a/zencore/include/zencore/except.h
+++ b/zencore/include/zencore/except.h
@@ -79,9 +79,9 @@ GetLastError()
}
inline std::error_code
-MakeWin32ErrorCode(uint32_t Win32ErrorCode) noexcept
+MakeErrorCode(uint32_t ErrorCode) noexcept
{
- return std::error_code(Win32ErrorCode, std::system_category());
+ return std::error_code(ErrorCode, std::system_category());
}
inline std::error_code