[fixup] Redundant shared_from_this
This commit is contained in:
parent
ff3eee27da
commit
9d0e4e298a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Manager* g_manager = nullptr; ///< Service manager
|
|||
|
||||
void Manager::AddService(std::shared_ptr<Interface> service) {
|
||||
// TOOD(yuriks): Fix error reporting
|
||||
m_port_map[service->GetPortName()] = Kernel::g_handle_table.Create(service->shared_from_this()).ValueOr(INVALID_HANDLE);
|
||||
m_port_map[service->GetPortName()] = Kernel::g_handle_table.Create(service).ValueOr(INVALID_HANDLE);
|
||||
m_services.push_back(service);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue