瀏覽代碼

service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.

bunnei 8 年之前
父節點
當前提交
ad073846bc

+ 0 - 2
src/core/hle/service/am/applet_oe.cpp

@@ -16,7 +16,5 @@ AppletOE::AppletOE() : ServiceFramework("appletOE") {
     RegisterHandlers(functions);
     RegisterHandlers(functions);
 }
 }
 
 
-AppletOE::~AppletOE() = default;
-
 } // namespace AM
 } // namespace AM
 } // namespace Service
 } // namespace Service

+ 2 - 2
src/core/hle/service/am/applet_oe.h

@@ -11,8 +11,8 @@ namespace AM {
 
 
 class AppletOE final : public ServiceFramework<AppletOE> {
 class AppletOE final : public ServiceFramework<AppletOE> {
 public:
 public:
-    explicit AppletOE();
-    ~AppletOE();
+    AppletOE();
+    ~AppletOE() = default;
 };
 };
 
 
 } // namespace AM
 } // namespace AM

+ 0 - 2
src/core/hle/service/apm/apm.cpp

@@ -21,7 +21,5 @@ APM::APM() : ServiceFramework("apm") {
     RegisterHandlers(functions);
     RegisterHandlers(functions);
 }
 }
 
 
-APM::~APM() = default;
-
 } // namespace APM
 } // namespace APM
 } // namespace Service
 } // namespace Service

+ 2 - 2
src/core/hle/service/apm/apm.h

@@ -11,8 +11,8 @@ namespace APM {
 
 
 class APM final : public ServiceFramework<APM> {
 class APM final : public ServiceFramework<APM> {
 public:
 public:
-    explicit APM();
-    ~APM();
+    APM();
+    ~APM() = default;
 };
 };
 
 
 /// Registers all AM services with the specified service manager.
 /// Registers all AM services with the specified service manager.

+ 0 - 2
src/core/hle/service/lm/lm.cpp

@@ -92,7 +92,5 @@ LM::LM() : ServiceFramework("lm") {
     RegisterHandlers(functions);
     RegisterHandlers(functions);
 }
 }
 
 
-LM::~LM() = default;
-
 } // namespace LM
 } // namespace LM
 } // namespace Service
 } // namespace Service

+ 2 - 2
src/core/hle/service/lm/lm.h

@@ -14,8 +14,8 @@ namespace LM {
 
 
 class LM final : public ServiceFramework<LM> {
 class LM final : public ServiceFramework<LM> {
 public:
 public:
-    explicit LM();
-    ~LM();
+    LM();
+    ~LM() = default;
 
 
 private:
 private:
     void Initialize(Kernel::HLERequestContext& ctx);
     void Initialize(Kernel::HLERequestContext& ctx);

+ 0 - 2
src/core/hle/service/sm/controller.cpp

@@ -54,7 +54,5 @@ Controller::Controller() : ServiceFramework("IpcController") {
     RegisterHandlers(functions);
     RegisterHandlers(functions);
 }
 }
 
 
-Controller::~Controller() = default;
-
 } // namespace SM
 } // namespace SM
 } // namespace Service
 } // namespace Service

+ 2 - 2
src/core/hle/service/sm/controller.h

@@ -11,8 +11,8 @@ namespace SM {
 
 
 class Controller final : public ServiceFramework<Controller> {
 class Controller final : public ServiceFramework<Controller> {
 public:
 public:
-    explicit Controller();
-    ~Controller();
+    Controller();
+    ~Controller() = default;
 
 
 private:
 private:
     void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);
     void ConvertSessionToDomain(Kernel::HLERequestContext& ctx);

+ 0 - 2
src/core/hle/service/sm/sm.cpp

@@ -147,7 +147,5 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager)
     RegisterHandlers(functions);
     RegisterHandlers(functions);
 }
 }
 
 
-SM::~SM() = default;
-
 } // namespace SM
 } // namespace SM
 } // namespace Service
 } // namespace Service

+ 2 - 2
src/core/hle/service/sm/sm.h

@@ -23,8 +23,8 @@ namespace SM {
 /// Interface to "sm:" service
 /// Interface to "sm:" service
 class SM final : public ServiceFramework<SM> {
 class SM final : public ServiceFramework<SM> {
 public:
 public:
-    explicit SM(std::shared_ptr<ServiceManager> service_manager);
-    ~SM();
+    SM(std::shared_ptr<ServiceManager> service_manager);
+    ~SM() = default;
 
 
 private:
 private:
     void Initialize(Kernel::HLERequestContext& ctx);
     void Initialize(Kernel::HLERequestContext& ctx);