citra-emu
/
citra-canary
Archived
1
0
Fork 0

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 committed by fearlessTobi
parent a32725540c
commit dd2cbca3f4
1 changed files with 3 additions and 7 deletions

View File

@ -54,11 +54,6 @@
#include "core/hle/service/ssl_c.h" #include "core/hle/service/ssl_c.h"
#include "core/hle/service/y2r_u.h" #include "core/hle/service/y2r_u.h"
using Kernel::ClientPort;
using Kernel::ServerPort;
using Kernel::ServerSession;
using Kernel::SharedPtr;
namespace Service { namespace Service {
const std::array<ServiceModuleInfo, 40> service_module_map{ const std::array<ServiceModuleInfo, 40> service_module_map{
@ -174,7 +169,8 @@ void ServiceFrameworkBase::ReportUnimplementedFunction(u32* cmd_buf, const Funct
cmd_buf[1] = 0; cmd_buf[1] = 0;
} }
void ServiceFrameworkBase::HandleSyncRequest(SharedPtr<ServerSession> server_session) { void ServiceFrameworkBase::HandleSyncRequest(
Kernel::SharedPtr<Kernel::ServerSession> server_session) {
Kernel::KernelSystem& kernel = Core::System::GetInstance().Kernel(); Kernel::KernelSystem& kernel = Core::System::GetInstance().Kernel();
auto thread = kernel.GetThreadManager().GetCurrentThread(); auto thread = kernel.GetThreadManager().GetCurrentThread();
// TODO(wwylele): avoid GetPointer // TODO(wwylele): avoid GetPointer
@ -222,7 +218,7 @@ static bool AttemptLLE(const ServiceModuleInfo& service_module) {
service_module.name); service_module.name);
return false; return false;
} }
SharedPtr<Kernel::Process> process; Kernel::SharedPtr<Kernel::Process> process;
loader->Load(process); loader->Load(process);
LOG_DEBUG(Service, "Service module \"{}\" has been successfully loaded.", service_module.name); LOG_DEBUG(Service, "Service module \"{}\" has been successfully loaded.", service_module.name);
return true; return true;