1
0
Fork 0
forked from suyu/suyu

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:
Lioncash 2018-12-06 01:37:39 -05:00
parent d8625f5544
commit 9f56477539

View file

@ -70,10 +70,6 @@
#include "core/hle/service/vi/vi.h"
#include "core/hle/service/wlan/wlan.h"
using Kernel::ClientPort;
using Kernel::ServerPort;
using Kernel::SharedPtr;
namespace Service {
/**
@ -111,7 +107,7 @@ void ServiceFrameworkBase::InstallAsNamedPort() {
auto& kernel = Core::System::GetInstance().Kernel();
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());
kernel.AddNamedPort(service_name, std::move(client_port));
}