service: Use nested namespace specifiers where applicable

There were a few places where nested namespace specifiers weren't being
used where they could be within the service code. This amends that to
make the namespacing a tiny bit more compact.
This commit is contained in:
Lioncash
2018-09-22 14:23:08 +02:00
committed by fearlessTobi
parent 80cdfe1c45
commit 46da908a00
221 changed files with 443 additions and 902 deletions

View File

@@ -5,8 +5,7 @@
#include "core/hle/ipc_helpers.h"
#include "core/hle/service/ndm/ndm_u.h"
namespace Service {
namespace NDM {
namespace Service::NDM {
void NDM_U::EnterExclusiveState(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x01, 1, 2);
@@ -241,5 +240,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
std::make_shared<NDM_U>()->InstallAsService(service_manager);
}
} // namespace NDM
} // namespace Service
} // namespace Service::NDM

View File

@@ -7,8 +7,7 @@
#include <array>
#include "core/hle/service/service.h"
namespace Service {
namespace NDM {
namespace Service::NDM {
class NDM_U final : public ServiceFramework<NDM_U> {
public:
@@ -271,5 +270,4 @@ private:
void InstallInterfaces(SM::ServiceManager& service_manager);
} // namespace NDM
} // namespace Service
} // namespace Service::NDM