diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-11 17:42:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 17:42:05 +0200 |
commit | 1470b85af9027106f16c888bb7f6a97d44fad304 (patch) | |
tree | 47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/pctl | |
parent | Merge pull request #1292 from ogniK5377/renderdoc-fix (diff) | |
parent | hle/service: Default constructors and destructors in the cpp file where applicable (diff) | |
download | yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.gz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.bz2 yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.lz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.xz yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.tar.zst yuzu-1470b85af9027106f16c888bb7f6a97d44fad304.zip |
Diffstat (limited to 'src/core/hle/service/pctl')
-rw-r--r-- | src/core/hle/service/pctl/module.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/pctl/module.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/pctl/pctl.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/pctl/pctl.h | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp index 6cc3b1992..4fd185f69 100644 --- a/src/core/hle/service/pctl/module.cpp +++ b/src/core/hle/service/pctl/module.cpp @@ -142,6 +142,8 @@ void Module::Interface::CreateServiceWithoutInitialize(Kernel::HLERequestContext Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) : ServiceFramework(name), module(std::move(module)) {} +Module::Interface::~Interface() = default; + void InstallInterfaces(SM::ServiceManager& service_manager) { auto module = std::make_shared<Module>(); std::make_shared<PCTL>(module, "pctl")->InstallAsService(service_manager); diff --git a/src/core/hle/service/pctl/module.h b/src/core/hle/service/pctl/module.h index e7d492760..3e449110d 100644 --- a/src/core/hle/service/pctl/module.h +++ b/src/core/hle/service/pctl/module.h @@ -13,6 +13,7 @@ public: class Interface : public ServiceFramework<Interface> { public: explicit Interface(std::shared_ptr<Module> module, const char* name); + ~Interface() override; void CreateService(Kernel::HLERequestContext& ctx); void CreateServiceWithoutInitialize(Kernel::HLERequestContext& ctx); diff --git a/src/core/hle/service/pctl/pctl.cpp b/src/core/hle/service/pctl/pctl.cpp index de2741d66..af9d1433a 100644 --- a/src/core/hle/service/pctl/pctl.cpp +++ b/src/core/hle/service/pctl/pctl.cpp @@ -14,4 +14,6 @@ PCTL::PCTL(std::shared_ptr<Module> module, const char* name) }; RegisterHandlers(functions); } + +PCTL::~PCTL() = default; } // namespace Service::PCTL diff --git a/src/core/hle/service/pctl/pctl.h b/src/core/hle/service/pctl/pctl.h index 8ddf69128..c33ea80b6 100644 --- a/src/core/hle/service/pctl/pctl.h +++ b/src/core/hle/service/pctl/pctl.h @@ -11,6 +11,7 @@ namespace Service::PCTL { class PCTL final : public Module::Interface { public: explicit PCTL(std::shared_ptr<Module> module, const char* name); + ~PCTL() override; }; } // namespace Service::PCTL |