yuzu-emu
/
yuzu-mainline
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"
namespace Service {
namespace Account {
namespace Service::Account {
class ACC_SU final : public Module::Interface {
public:
@ -16,5 +15,4 @@ public:
~ACC_SU() override;
};
} // namespace Account
} // namespace Service
} // namespace Service::Account

View File

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

View File

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