diff options
| author | 2017-12-28 15:27:30 -0500 | |
|---|---|---|
| committer | 2017-12-28 15:27:30 -0500 | |
| commit | ad073846bce4c372e14e0b2fc827067df0e3e624 (patch) | |
| tree | 62142a868d547acbc855ed8937dfffdcc09a5891 /src/core | |
| parent | service: Halt on ReportUnimplementedFunction and improve output log. (diff) | |
| download | yuzu-ad073846bce4c372e14e0b2fc827067df0e3e624.tar.gz yuzu-ad073846bce4c372e14e0b2fc827067df0e3e624.tar.xz yuzu-ad073846bce4c372e14e0b2fc827067df0e3e624.zip | |
service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/am/applet_oe.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/apm/apm.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/apm/apm.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/lm/lm.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/lm/lm.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/sm/controller.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/sm/controller.h | 4 | ||||
| -rw-r--r-- | src/core/hle/service/sm/sm.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/sm/sm.h | 4 |
10 files changed, 10 insertions, 20 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index a5d80f5c7..cd8901d2f 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") { | |||
| 16 | RegisterHandlers(functions); | 16 | RegisterHandlers(functions); |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | AppletOE::~AppletOE() = default; | ||
| 20 | |||
| 21 | } // namespace AM | 19 | } // namespace AM |
| 22 | } // namespace Service | 20 | } // namespace Service |
diff --git a/src/core/hle/service/am/applet_oe.h b/src/core/hle/service/am/applet_oe.h index 1385428b1..6e1173f01 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 { | |||
| 11 | 11 | ||
| 12 | class AppletOE final : public ServiceFramework<AppletOE> { | 12 | class AppletOE final : public ServiceFramework<AppletOE> { |
| 13 | public: | 13 | public: |
| 14 | explicit AppletOE(); | 14 | AppletOE(); |
| 15 | ~AppletOE(); | 15 | ~AppletOE() = default; |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | } // namespace AM | 18 | } // namespace AM |
diff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cpp index 37b5bd647..3cb7d5861 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") { | |||
| 21 | RegisterHandlers(functions); | 21 | RegisterHandlers(functions); |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | APM::~APM() = default; | ||
| 25 | |||
| 26 | } // namespace APM | 24 | } // namespace APM |
| 27 | } // namespace Service | 25 | } // namespace Service |
diff --git a/src/core/hle/service/apm/apm.h b/src/core/hle/service/apm/apm.h index ce6ac0f66..58472e189 100644 --- a/src/core/hle/service/apm/apm.h +++ b/src/core/hle/service/apm/apm.h | |||
| @@ -11,8 +11,8 @@ namespace APM { | |||
| 11 | 11 | ||
| 12 | class APM final : public ServiceFramework<APM> { | 12 | class APM final : public ServiceFramework<APM> { |
| 13 | public: | 13 | public: |
| 14 | explicit APM(); | 14 | APM(); |
| 15 | ~APM(); | 15 | ~APM() = default; |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | /// Registers all AM services with the specified service manager. | 18 | /// 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.cpp index 72fa6db6b..210c1958e 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") { | |||
| 92 | RegisterHandlers(functions); | 92 | RegisterHandlers(functions); |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | LM::~LM() = default; | ||
| 96 | |||
| 97 | } // namespace LM | 95 | } // namespace LM |
| 98 | } // namespace Service | 96 | } // namespace Service |
diff --git a/src/core/hle/service/lm/lm.h b/src/core/hle/service/lm/lm.h index 05a92f712..a86798f19 100644 --- a/src/core/hle/service/lm/lm.h +++ b/src/core/hle/service/lm/lm.h | |||
| @@ -14,8 +14,8 @@ namespace LM { | |||
| 14 | 14 | ||
| 15 | class LM final : public ServiceFramework<LM> { | 15 | class LM final : public ServiceFramework<LM> { |
| 16 | public: | 16 | public: |
| 17 | explicit LM(); | 17 | LM(); |
| 18 | ~LM(); | 18 | ~LM() = default; |
| 19 | 19 | ||
| 20 | private: | 20 | private: |
| 21 | void Initialize(Kernel::HLERequestContext& ctx); | 21 | void Initialize(Kernel::HLERequestContext& ctx); |
diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp index 174ee8161..414a7d809 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") { | |||
| 54 | RegisterHandlers(functions); | 54 | RegisterHandlers(functions); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | Controller::~Controller() = default; | ||
| 58 | |||
| 59 | } // namespace SM | 57 | } // namespace SM |
| 60 | } // namespace Service | 58 | } // namespace Service |
diff --git a/src/core/hle/service/sm/controller.h b/src/core/hle/service/sm/controller.h index bb5a815f8..e68676ab6 100644 --- a/src/core/hle/service/sm/controller.h +++ b/src/core/hle/service/sm/controller.h | |||
| @@ -11,8 +11,8 @@ namespace SM { | |||
| 11 | 11 | ||
| 12 | class Controller final : public ServiceFramework<Controller> { | 12 | class Controller final : public ServiceFramework<Controller> { |
| 13 | public: | 13 | public: |
| 14 | explicit Controller(); | 14 | Controller(); |
| 15 | ~Controller(); | 15 | ~Controller() = default; |
| 16 | 16 | ||
| 17 | private: | 17 | private: |
| 18 | void ConvertSessionToDomain(Kernel::HLERequestContext& ctx); | 18 | void ConvertSessionToDomain(Kernel::HLERequestContext& ctx); |
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index e77ec8df9..a976385ac 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) | |||
| 147 | RegisterHandlers(functions); | 147 | RegisterHandlers(functions); |
| 148 | } | 148 | } |
| 149 | 149 | ||
| 150 | SM::~SM() = default; | ||
| 151 | |||
| 152 | } // namespace SM | 150 | } // namespace SM |
| 153 | } // namespace Service | 151 | } // namespace Service |
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index eb463a656..e43a351b3 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h | |||
| @@ -23,8 +23,8 @@ namespace SM { | |||
| 23 | /// Interface to "sm:" service | 23 | /// Interface to "sm:" service |
| 24 | class SM final : public ServiceFramework<SM> { | 24 | class SM final : public ServiceFramework<SM> { |
| 25 | public: | 25 | public: |
| 26 | explicit SM(std::shared_ptr<ServiceManager> service_manager); | 26 | SM(std::shared_ptr<ServiceManager> service_manager); |
| 27 | ~SM(); | 27 | ~SM() = default; |
| 28 | 28 | ||
| 29 | private: | 29 | private: |
| 30 | void Initialize(Kernel::HLERequestContext& ctx); | 30 | void Initialize(Kernel::HLERequestContext& ctx); |