kern: KObjectContainer::Register -> void

This commit is contained in:
Michael Scire 2020-12-01 13:49:30 -08:00 committed by SciresM
parent b0debd72a7
commit 783f1077be
15 changed files with 19 additions and 23 deletions

View file

@ -187,7 +187,7 @@ namespace ams::kern::svc {
};
/* Register the event. */
R_TRY(KEvent::Register(event));
KEvent::Register(event);
/* Add the readable event to the handle table. */
R_TRY(handle_table.Add(out_event_handle, std::addressof(event->GetReadableEvent())));