VERY experimental Nintendo Switch 2 emulator
C++
service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.
bunnei82fb80da7687
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cppindex a5d80f5c7e..cd8901d2f4 100644--- a/src/core/hle/service/am/applet_oe.cpp+++ b/src/core/hle/service/am/applet_oe.cpp@@ -16,7 +16,5 @@ AppletOE::AppletOE() : ServiceFramework("appletOE") {RegisterHandlers(functions);}-AppletOE::~AppletOE() = default;-} // namespace AM} // namespace Servicediff --git a/src/core/hle/service/am/applet_oe.h b/src/core/hle/service/am/applet_oe.hindex 1385428b18..6e1173f010 100644--- a/src/core/hle/service/am/applet_oe.h+++ b/src/core/hle/service/am/applet_oe.h@@ -11,8 +11,8 @@ namespace AM {class AppletOE final : public ServiceFramework<AppletOE> {public:- explicit AppletOE();- ~AppletOE();+ AppletOE();+ ~AppletOE() = default;};} // namespace AMdiff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cppindex 37b5bd6471..3cb7d58610 100644--- a/src/core/hle/service/apm/apm.cpp+++ b/src/core/hle/service/apm/apm.cpp@@ -21,7 +21,5 @@ APM::APM() : ServiceFramework("apm") {RegisterHandlers(functions);}-APM::~APM() = default;-} // namespace APM} // namespace Servicediff --git a/src/core/hle/service/apm/apm.h b/src/core/hle/service/apm/apm.hindex ce6ac0f66e..58472e1890 100644--- a/src/core/hle/service/apm/apm.h+++ b/src/core/hle/service/apm/apm.h@@ -11,8 +11,8 @@ namespace APM {class APM final : public ServiceFramework<APM> {public:- explicit APM();- ~APM();+ APM();+ ~APM() = default;};/// Registers all AM services with the specified service manager.diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cppindex 72fa6db6be..210c1958e9 100644--- a/src/core/hle/service/lm/lm.cpp+++ b/src/core/hle/service/lm/lm.cpp@@ -92,7 +92,5 @@ LM::LM() : ServiceFramework("lm") {RegisterHandlers(functions);}-LM::~LM() = default;-} // namespace LM} // namespace Servicediff --git a/src/core/hle/service/lm/lm.h b/src/core/hle/service/lm/lm.hindex 05a92f712f..a86798f191 100644--- a/src/core/hle/service/lm/lm.h+++ b/src/core/hle/service/lm/lm.h@@ -14,8 +14,8 @@ namespace LM {class LM final : public ServiceFramework<LM> {public:- explicit LM();- ~LM();+ LM();+ ~LM() = default;private:void Initialize(Kernel::HLERequestContext& ctx);diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cppindex 174ee81610..414a7d8091 100644--- a/src/core/hle/service/sm/controller.cpp+++ b/src/core/hle/service/sm/controller.cpp@@ -54,7 +54,5 @@ Controller::Controller() : ServiceFramework("IpcController") {RegisterHandlers(functions);}-Controller::~Controller() = default;-} // namespace SM} // namespace Servicediff --git a/src/core/hle/service/sm/controller.h b/src/core/hle/service/sm/controller.hindex bb5a815f8f..e68676ab6c 100644--- a/src/core/hle/service/sm/controller.h+++ b/src/core/hle/service/sm/controller.h@@ -11,8 +11,8 @@ namespace SM {class Controller final : public ServiceFramework<Controller> {public:- explicit Controller();- ~Controller();+ Controller();+ ~Controller() = default;private:void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cppindex e77ec8df96..a976385aca 100644--- a/src/core/hle/service/sm/sm.cpp+++ b/src/core/hle/service/sm/sm.cpp@@ -147,7 +147,5 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager)RegisterHandlers(functions);}-SM::~SM() = default;-} // namespace SM} // namespace Servicediff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.hindex eb463a6560..e43a351b37 100644--- a/src/core/hle/service/sm/sm.h+++ b/src/core/hle/service/sm/sm.h@@ -23,8 +23,8 @@ namespace SM {/// Interface to "sm:" serviceclass SM final : public ServiceFramework<SM> {public:- explicit SM(std::shared_ptr<ServiceManager> service_manager);- ~SM();+ SM(std::shared_ptr<ServiceManager> service_manager);+ ~SM() = default;private:void Initialize(Kernel::HLERequestContext& ctx);