yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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-13 15:52:52 -04:00
parent 8e7497d5bb
commit a0e51d8b98
3 changed files with 6 additions and 12 deletions

View File

@ -6,8 +6,7 @@
#include "core/hle/service/acc/acc.h" #include "core/hle/service/acc/acc.h"
namespace Service { namespace Service::Account {
namespace Account {
class ACC_SU final : public Module::Interface { class ACC_SU final : public Module::Interface {
public: public:
@ -16,5 +15,4 @@ public:
~ACC_SU() override; ~ACC_SU() override;
}; };
} // namespace Account } // namespace Service::Account
} // namespace Service

View File

@ -9,8 +9,7 @@
#include "core/core.h" #include "core/core.h"
#include "core/hle/service/nvflinger/buffer_queue.h" #include "core/hle/service/nvflinger/buffer_queue.h"
namespace Service { namespace Service::NVFlinger {
namespace NVFlinger {
BufferQueue::BufferQueue(u32 id, u64 layer_id) : id(id), layer_id(layer_id) { BufferQueue::BufferQueue(u32 id, u64 layer_id) : id(id), layer_id(layer_id) {
auto& kernel = Core::System::GetInstance().Kernel(); auto& kernel = Core::System::GetInstance().Kernel();
@ -104,5 +103,4 @@ u32 BufferQueue::Query(QueryType type) {
return 0; return 0;
} }
} // namespace NVFlinger } // namespace Service::NVFlinger
} // namespace Service

View File

@ -15,8 +15,7 @@ namespace CoreTiming {
struct EventType; struct EventType;
} }
namespace Service { namespace Service::NVFlinger {
namespace NVFlinger {
struct IGBPBuffer { struct IGBPBuffer {
u32_le magic; u32_le magic;
@ -98,5 +97,4 @@ private:
Kernel::SharedPtr<Kernel::Event> buffer_wait_event; Kernel::SharedPtr<Kernel::Event> buffer_wait_event;
}; };
} // namespace NVFlinger } // namespace Service::NVFlinger
} // namespace Service