diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-10 18:26:09 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-10 18:26:12 -0400 |
commit | f7ec0bcfc2e638530af3254386917e2d39a25e9c (patch) | |
tree | 8d1236145faeec66e56554ef45b1fcf9ce654978 /src/core/hle/result.h | |
parent | d870cc5ad710b04fae15baee85e0fa0f4df1e8a0 (diff) |
core/hle/result: Remove now-unused constructor for ResultCode
Now that the final stray ErrorDescription member was relocated, we can
finally remove it and its relevant constructor in the ResultCode union.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r-- | src/core/hle/result.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 9f6ac39e6..fca07532e 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -13,13 +13,6 @@ // All the constants in this file come from http://switchbrew.org/index.php?title=Error_codes /** - * Detailed description of the error. Code 0 always means success. - */ -enum class ErrorDescription : u32 { - Success = 0, -}; - -/** * Identifies the module which caused the error. Error codes can be propagated through a call * chain, meaning that this doesn't always correspond to the module where the API call made is * contained. @@ -132,9 +125,6 @@ union ResultCode { constexpr explicit ResultCode(u32 raw) : raw(raw) {} - constexpr ResultCode(ErrorModule module, ErrorDescription description) - : ResultCode(module, static_cast<u32>(description)) {} - constexpr ResultCode(ErrorModule module_, u32 description_) : raw(module.FormatValue(module_) | description.FormatValue(description_)) {} |