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

@@ -7,8 +7,7 @@
#include "core/hle/result.h"
#include "core/hle/service/csnd/csnd_snd.h"
namespace Service {
namespace CSND {
namespace Service::CSND {
void CSND_SND::Initialize(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx, 0x01, 5, 0);
@@ -198,5 +197,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
std::make_shared<CSND_SND>()->InstallAsService(service_manager);
}
} // namespace CSND
} // namespace Service
} // namespace Service::CSND

View File

@@ -8,8 +8,7 @@
#include "core/hle/kernel/shared_memory.h"
#include "core/hle/service/service.h"
namespace Service {
namespace CSND {
namespace Service::CSND {
class CSND_SND final : public ServiceFramework<CSND_SND> {
public:
@@ -181,5 +180,4 @@ private:
/// Initializes the CSND_SND Service
void InstallInterfaces(SM::ServiceManager& service_manager);
} // namespace CSND
} // namespace Service
} // namespace Service::CSND