hle/service: Remove unnecessary using declarations
Only one usage of the specified objects made use of the lack of namespacing. Given the low usage, we can just remove these.
This commit is contained in:
parent
d8625f5544
commit
9f56477539
@ -70,10 +70,6 @@
|
|||||||
#include "core/hle/service/vi/vi.h"
|
#include "core/hle/service/vi/vi.h"
|
||||||
#include "core/hle/service/wlan/wlan.h"
|
#include "core/hle/service/wlan/wlan.h"
|
||||||
|
|
||||||
using Kernel::ClientPort;
|
|
||||||
using Kernel::ServerPort;
|
|
||||||
using Kernel::SharedPtr;
|
|
||||||
|
|
||||||
namespace Service {
|
namespace Service {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -111,7 +107,7 @@ void ServiceFrameworkBase::InstallAsNamedPort() {
|
|||||||
|
|
||||||
auto& kernel = Core::System::GetInstance().Kernel();
|
auto& kernel = Core::System::GetInstance().Kernel();
|
||||||
auto [server_port, client_port] =
|
auto [server_port, client_port] =
|
||||||
ServerPort::CreatePortPair(kernel, max_sessions, service_name);
|
Kernel::ServerPort::CreatePortPair(kernel, max_sessions, service_name);
|
||||||
server_port->SetHleHandler(shared_from_this());
|
server_port->SetHleHandler(shared_from_this());
|
||||||
kernel.AddNamedPort(service_name, std::move(client_port));
|
kernel.AddNamedPort(service_name, std::move(client_port));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user