mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-23 17:20:09 +00:00
[fixup] Redundant shared_from_this
This commit is contained in:
parent
ff3eee27da
commit
9d0e4e298a
@ -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 New Issue
Block a user