service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
This commit is contained in:
parent
841b295ad0
commit
ffdf8c0cb3
3 changed files with 5 additions and 7 deletions
|
@ -43,7 +43,7 @@ void ServiceManager::InstallInterfaces(std::shared_ptr<ServiceManager> self,
|
|||
ASSERT(self->sm_interface.expired());
|
||||
|
||||
auto sm = std::make_shared<SM>(self, kernel);
|
||||
sm->InstallAsNamedPort();
|
||||
sm->InstallAsNamedPort(kernel);
|
||||
self->sm_interface = sm;
|
||||
self->controller_interface = std::make_unique<Controller>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue