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/spl | |
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/spl')
-rw-r--r-- | src/core/hle/service/spl/csrng.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/spl/csrng.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/spl/module.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/spl/module.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/spl/spl.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/spl/spl.h | 1 |
6 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/spl/csrng.cpp b/src/core/hle/service/spl/csrng.cpp index b9e6b799d..674928798 100644 --- a/src/core/hle/service/spl/csrng.cpp +++ b/src/core/hle/service/spl/csrng.cpp @@ -13,4 +13,6 @@ CSRNG::CSRNG(std::shared_ptr<Module> module) : Module::Interface(std::move(modul RegisterHandlers(functions); } +CSRNG::~CSRNG() = default; + } // namespace Service::SPL diff --git a/src/core/hle/service/spl/csrng.h b/src/core/hle/service/spl/csrng.h index 3f849b5a7..764d5ceb0 100644 --- a/src/core/hle/service/spl/csrng.h +++ b/src/core/hle/service/spl/csrng.h @@ -11,6 +11,7 @@ namespace Service::SPL { class CSRNG final : public Module::Interface { public: explicit CSRNG(std::shared_ptr<Module> module); + ~CSRNG() override; }; } // namespace Service::SPL diff --git a/src/core/hle/service/spl/module.cpp b/src/core/hle/service/spl/module.cpp index 3f5a342a7..0d8441fb1 100644 --- a/src/core/hle/service/spl/module.cpp +++ b/src/core/hle/service/spl/module.cpp @@ -16,6 +16,8 @@ namespace Service::SPL { Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) : ServiceFramework(name), module(std::move(module)) {} +Module::Interface::~Interface() = default; + void Module::Interface::GetRandomBytes(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; diff --git a/src/core/hle/service/spl/module.h b/src/core/hle/service/spl/module.h index f24d998e8..48fda6099 100644 --- a/src/core/hle/service/spl/module.h +++ b/src/core/hle/service/spl/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 GetRandomBytes(Kernel::HLERequestContext& ctx); diff --git a/src/core/hle/service/spl/spl.cpp b/src/core/hle/service/spl/spl.cpp index bb1e03342..70cb41905 100644 --- a/src/core/hle/service/spl/spl.cpp +++ b/src/core/hle/service/spl/spl.cpp @@ -42,4 +42,6 @@ SPL::SPL(std::shared_ptr<Module> module) : Module::Interface(std::move(module), RegisterHandlers(functions); } +SPL::~SPL() = default; + } // namespace Service::SPL diff --git a/src/core/hle/service/spl/spl.h b/src/core/hle/service/spl/spl.h index 69c4c1747..3637d1623 100644 --- a/src/core/hle/service/spl/spl.h +++ b/src/core/hle/service/spl/spl.h @@ -11,6 +11,7 @@ namespace Service::SPL { class SPL final : public Module::Interface { public: explicit SPL(std::shared_ptr<Module> module); + ~SPL() override; }; } // namespace Service::SPL |