mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-25 04:04:22 -04:00
kern: minor cleanup (thanks @liamwhite)
This commit is contained in:
parent
e2ebf9c0ff
commit
8da4d14e15
3 changed files with 3 additions and 4 deletions
|
@ -48,7 +48,7 @@ namespace ams::kern {
|
|||
/* Check that the object is closed. */
|
||||
R_UNLESS(derived->IsServerClosed(), svc::ResultInvalidState());
|
||||
|
||||
return Delete(obj.GetPointerUnsafe(), name);
|
||||
R_RETURN(Delete(obj.GetPointerUnsafe(), name));
|
||||
}
|
||||
|
||||
template<typename Derived> requires std::derived_from<Derived, KAutoObject>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue