mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 23:59:49 -04:00
kern: KObjectContainer::Register -> void
This commit is contained in:
parent
b0debd72a7
commit
783f1077be
15 changed files with 19 additions and 23 deletions
|
@ -46,7 +46,7 @@ namespace ams::kern::svc {
|
|||
port->Initialize(max_sessions, false, 0);
|
||||
|
||||
/* Register the port. */
|
||||
R_TRY(KPort::Register(port));
|
||||
KPort::Register(port);
|
||||
|
||||
/* Register the handle in the table. */
|
||||
handle_table.Register(*out_server_handle, std::addressof(port->GetServerPort()));
|
||||
|
@ -95,7 +95,7 @@ namespace ams::kern::svc {
|
|||
};
|
||||
|
||||
/* Register the port. */
|
||||
R_TRY(KPort::Register(port));
|
||||
KPort::Register(port);
|
||||
|
||||
/* Add the client to the handle table. */
|
||||
R_TRY(handle_table.Add(out_client, std::addressof(port->GetClientPort())));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue