Remove result.h InvalidHandle
It was only being used in two places, where it was replaced by a local constant.
This commit is contained in:
parent
44f90340dc
commit
09ae6e1fa3
4 changed files with 32 additions and 30 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue