diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-20 15:44:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 15:44:40 +0200 |
commit | b11f6f90e7f0c6f13f3ac28042a6acd17265dea0 (patch) | |
tree | 69298d8974a70abb4c83f4fe044c180b49f7e00d /src/core/hle/service/fatal | |
parent | Merge pull request #364 from lioncash/thread-local (diff) | |
parent | service: Use nested namespace specifiers where applicable (diff) | |
download | yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.gz yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.bz2 yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.lz yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.xz yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.tar.zst yuzu-b11f6f90e7f0c6f13f3ac28042a6acd17265dea0.zip |
Diffstat (limited to 'src/core/hle/service/fatal')
-rw-r--r-- | src/core/hle/service/fatal/fatal.cpp | 6 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal.h | 6 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_p.cpp | 6 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_p.h | 6 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_u.cpp | 6 | ||||
-rw-r--r-- | src/core/hle/service/fatal/fatal_u.h | 6 |
6 files changed, 12 insertions, 24 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp index 1a18e0051..41d58f999 100644 --- a/src/core/hle/service/fatal/fatal.cpp +++ b/src/core/hle/service/fatal/fatal.cpp @@ -8,8 +8,7 @@ #include "core/hle/service/fatal/fatal_p.h" #include "core/hle/service/fatal/fatal_u.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) : ServiceFramework(name), module(std::move(module)) {} @@ -34,5 +33,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) { std::make_shared<Fatal_U>(module)->InstallAsService(service_manager); } -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.h index 85272b4be..2d8d08320 100644 --- a/src/core/hle/service/fatal/fatal.h +++ b/src/core/hle/service/fatal/fatal.h @@ -6,8 +6,7 @@ #include "core/hle/service/service.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { class Module final { public: @@ -25,5 +24,4 @@ public: void InstallInterfaces(SM::ServiceManager& service_manager); -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_p.cpp b/src/core/hle/service/fatal/fatal_p.cpp index ba194e340..a5254ac2f 100644 --- a/src/core/hle/service/fatal/fatal_p.cpp +++ b/src/core/hle/service/fatal/fatal_p.cpp @@ -4,11 +4,9 @@ #include "core/hle/service/fatal/fatal_p.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { Fatal_P::Fatal_P(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:p") {} -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_p.h b/src/core/hle/service/fatal/fatal_p.h index d77b24bc4..bfd8c8b74 100644 --- a/src/core/hle/service/fatal/fatal_p.h +++ b/src/core/hle/service/fatal/fatal_p.h @@ -6,13 +6,11 @@ #include "core/hle/service/fatal/fatal.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { class Fatal_P final : public Module::Interface { public: explicit Fatal_P(std::shared_ptr<Module> module); }; -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_u.cpp b/src/core/hle/service/fatal/fatal_u.cpp index 065cc868d..26aa9f3b7 100644 --- a/src/core/hle/service/fatal/fatal_u.cpp +++ b/src/core/hle/service/fatal/fatal_u.cpp @@ -4,8 +4,7 @@ #include "core/hle/service/fatal/fatal_u.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:u") { static const FunctionInfo functions[] = { @@ -15,5 +14,4 @@ Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(m RegisterHandlers(functions); } -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal diff --git a/src/core/hle/service/fatal/fatal_u.h b/src/core/hle/service/fatal/fatal_u.h index 22374755e..9b1a9e97a 100644 --- a/src/core/hle/service/fatal/fatal_u.h +++ b/src/core/hle/service/fatal/fatal_u.h @@ -6,13 +6,11 @@ #include "core/hle/service/fatal/fatal.h" -namespace Service { -namespace Fatal { +namespace Service::Fatal { class Fatal_U final : public Module::Interface { public: explicit Fatal_U(std::shared_ptr<Module> module); }; -} // namespace Fatal -} // namespace Service +} // namespace Service::Fatal |