mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 06:48:09 -05:00
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
This commit is contained in:
@ -87,7 +87,7 @@ ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name
|
||||
auto handler = it->second;
|
||||
port->GetServerPort().SetSessionHandler(std::move(handler));
|
||||
|
||||
return MakeResult(port);
|
||||
return port;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -165,7 +165,7 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(Kernel::HLERequestContext&
|
||||
|
||||
LOG_DEBUG(Service_SM, "called service={} -> session={}", name, session->GetId());
|
||||
|
||||
return MakeResult(session);
|
||||
return session;
|
||||
}
|
||||
|
||||
void SM::RegisterService(Kernel::HLERequestContext& ctx) {
|
||||
|
Reference in New Issue
Block a user