diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-23 03:44:52 -0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-30 11:49:45 -0200 |
commit | 09ae6e1fa38bbf75dcb2796e96575fdba32ec69c (patch) | |
tree | e760cb36500849a65931a2f0ad0d6174be617601 /src/core/hle/result.h | |
parent | 44f90340dcf8dc0686bf63ad2244567c55e08e70 (diff) |
Remove result.h InvalidHandle
It was only being used in two places, where it was replaced by a local
constant.
Diffstat (limited to 'src/core/hle/result.h')
-rw-r--r-- | src/core/hle/result.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index ad06d00aa..948b9e38e 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -227,11 +227,6 @@ inline ResultCode UnimplementedFunction(ErrorModule module) { return ResultCode(ErrorDescription::NotImplemented, module, ErrorSummary::NotSupported, ErrorLevel::Permanent); } -/// Returned when a function is passed an invalid handle. -inline ResultCode InvalidHandle(ErrorModule module) { - return ResultCode(ErrorDescription::InvalidHandle, module, - ErrorSummary::InvalidArgument, ErrorLevel::Permanent); -} /** * This is an optional value type. It holds a `ResultCode` and, if that code is a success code, |