diff options
| author | Martin Ridgers <[email protected]> | 2021-09-15 12:51:21 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-09-16 09:34:29 +0200 |
| commit | 814b2775763c60238b6c5721a843d7429750fe75 (patch) | |
| tree | 823eb3ff0f3ca1b9aa0022e6afb8754308c35b5b /zencore/include | |
| parent | GetWindowsErrorAsString() -> GetErrorAsString() (diff) | |
| download | zen-814b2775763c60238b6c5721a843d7429750fe75.tar.xz zen-814b2775763c60238b6c5721a843d7429750fe75.zip | |
MakeWin32ErrorCode() -> MakeErrorCode()
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/except.h | 4 |
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 |