summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/spl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-20 15:44:40 +0200
committerGitHub <noreply@github.com>2018-04-20 15:44:40 +0200
commitb11f6f90e7f0c6f13f3ac28042a6acd17265dea0 (patch)
tree69298d8974a70abb4c83f4fe044c180b49f7e00d /src/core/hle/service/spl
parentMerge pull request #364 from lioncash/thread-local (diff)
parentservice: Use nested namespace specifiers where applicable (diff)
downloadyuzu-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/spl')
-rw-r--r--src/core/hle/service/spl/csrng.cpp6
-rw-r--r--src/core/hle/service/spl/csrng.h6
-rw-r--r--src/core/hle/service/spl/module.cpp6
-rw-r--r--src/core/hle/service/spl/module.h6
-rw-r--r--src/core/hle/service/spl/spl.cpp6
-rw-r--r--src/core/hle/service/spl/spl.h6
6 files changed, 12 insertions, 24 deletions
diff --git a/src/core/hle/service/spl/csrng.cpp b/src/core/hle/service/spl/csrng.cpp
index cde05717a..b9e6b799d 100644
--- a/src/core/hle/service/spl/csrng.cpp
+++ b/src/core/hle/service/spl/csrng.cpp
@@ -4,8 +4,7 @@
#include "core/hle/service/spl/csrng.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
CSRNG::CSRNG(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "csrng") {
static const FunctionInfo functions[] = {
@@ -14,5 +13,4 @@ CSRNG::CSRNG(std::shared_ptr<Module> module) : Module::Interface(std::move(modul
RegisterHandlers(functions);
}
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL
diff --git a/src/core/hle/service/spl/csrng.h b/src/core/hle/service/spl/csrng.h
index 59ca794dd..3f849b5a7 100644
--- a/src/core/hle/service/spl/csrng.h
+++ b/src/core/hle/service/spl/csrng.h
@@ -6,13 +6,11 @@
#include "core/hle/service/spl/module.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
class CSRNG final : public Module::Interface {
public:
explicit CSRNG(std::shared_ptr<Module> module);
};
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL
diff --git a/src/core/hle/service/spl/module.cpp b/src/core/hle/service/spl/module.cpp
index fc1bcd94c..3f5a342a7 100644
--- a/src/core/hle/service/spl/module.cpp
+++ b/src/core/hle/service/spl/module.cpp
@@ -11,8 +11,7 @@
#include "core/hle/service/spl/module.h"
#include "core/hle/service/spl/spl.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
: ServiceFramework(name), module(std::move(module)) {}
@@ -38,5 +37,4 @@ void InstallInterfaces(SM::ServiceManager& service_manager) {
std::make_shared<SPL>(module)->InstallAsService(service_manager);
}
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL
diff --git a/src/core/hle/service/spl/module.h b/src/core/hle/service/spl/module.h
index 12cdb2980..6ab91b400 100644
--- a/src/core/hle/service/spl/module.h
+++ b/src/core/hle/service/spl/module.h
@@ -6,8 +6,7 @@
#include "core/hle/service/service.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
class Module final {
public:
@@ -25,5 +24,4 @@ public:
/// Registers all SPL services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL
diff --git a/src/core/hle/service/spl/spl.cpp b/src/core/hle/service/spl/spl.cpp
index 3fcef341e..bb1e03342 100644
--- a/src/core/hle/service/spl/spl.cpp
+++ b/src/core/hle/service/spl/spl.cpp
@@ -4,8 +4,7 @@
#include "core/hle/service/spl/spl.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
SPL::SPL(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "spl:") {
static const FunctionInfo functions[] = {
@@ -43,5 +42,4 @@ SPL::SPL(std::shared_ptr<Module> module) : Module::Interface(std::move(module),
RegisterHandlers(functions);
}
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL
diff --git a/src/core/hle/service/spl/spl.h b/src/core/hle/service/spl/spl.h
index 9fd6059af..69c4c1747 100644
--- a/src/core/hle/service/spl/spl.h
+++ b/src/core/hle/service/spl/spl.h
@@ -6,13 +6,11 @@
#include "core/hle/service/spl/module.h"
-namespace Service {
-namespace SPL {
+namespace Service::SPL {
class SPL final : public Module::Interface {
public:
explicit SPL(std::shared_ptr<Module> module);
};
-} // namespace SPL
-} // namespace Service
+} // namespace Service::SPL