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

Merge pull request #1309 from lioncash/nested

service: Use nested namespace specifiers where applicable
This commit is contained in:
bunnei 2018-09-13 19:50:11 -04:00 committed by GitHub
commit fb65076b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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