diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-09-13 15:52:52 -0400 | 
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-09-13 15:52:55 -0400 | 
| commit | a0e51d8b98b486656f6d0d04a1353e11e5870c0e (patch) | |
| tree | 04e8a0dab9cb53a38ac9e3ca71e5297d3e53a5ee /src/core/hle/service | |
| parent | 8e7497d5bb17b7e322d191cd103479972bcdb39b (diff) | |
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.
Diffstat (limited to 'src/core/hle/service')
| -rw-r--r-- | src/core/hle/service/acc/acc_su.h | 6 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.cpp | 6 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.h | 6 | 
3 files changed, 6 insertions, 12 deletions
| diff --git a/src/core/hle/service/acc/acc_su.h b/src/core/hle/service/acc/acc_su.h index a3eb885bf..fcced063a 100644 --- a/src/core/hle/service/acc/acc_su.h +++ b/src/core/hle/service/acc/acc_su.h @@ -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 diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp index 34f98fe5a..fd98d541d 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue.cpp @@ -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 diff --git a/src/core/hle/service/nvflinger/buffer_queue.h b/src/core/hle/service/nvflinger/buffer_queue.h index 17c81928a..50b767732 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.h +++ b/src/core/hle/service/nvflinger/buffer_queue.h @@ -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 | 
