summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/friend
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-11 17:42:05 +0200
committerGitHub <noreply@github.com>2018-09-11 17:42:05 +0200
commit1470b85af9027106f16c888bb7f6a97d44fad304 (patch)
tree47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/friend
parentMerge pull request #1292 from ogniK5377/renderdoc-fix (diff)
parenthle/service: Default constructors and destructors in the cpp file where applicable (diff)
downloadyuzu-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/friend')
-rw-r--r--src/core/hle/service/friend/friend.cpp2
-rw-r--r--src/core/hle/service/friend/friend.h1
-rw-r--r--src/core/hle/service/friend/interface.cpp2
-rw-r--r--src/core/hle/service/friend/interface.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp
index f2b0e509a..d9225d624 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -118,6 +118,8 @@ void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) {
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<Friend>(module, "friend:a")->InstallAsService(service_manager);
diff --git a/src/core/hle/service/friend/friend.h b/src/core/hle/service/friend/friend.h
index c1b36518a..e762840cb 100644
--- a/src/core/hle/service/friend/friend.h
+++ b/src/core/hle/service/friend/friend.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 CreateFriendService(Kernel::HLERequestContext& ctx);
diff --git a/src/core/hle/service/friend/interface.cpp b/src/core/hle/service/friend/interface.cpp
index 27c6a09e2..5a6840af5 100644
--- a/src/core/hle/service/friend/interface.cpp
+++ b/src/core/hle/service/friend/interface.cpp
@@ -16,4 +16,6 @@ Friend::Friend(std::shared_ptr<Module> module, const char* name)
RegisterHandlers(functions);
}
+Friend::~Friend() = default;
+
} // namespace Service::Friend
diff --git a/src/core/hle/service/friend/interface.h b/src/core/hle/service/friend/interface.h
index 89dae8471..1963def39 100644
--- a/src/core/hle/service/friend/interface.h
+++ b/src/core/hle/service/friend/interface.h
@@ -11,6 +11,7 @@ namespace Service::Friend {
class Friend final : public Module::Interface {
public:
explicit Friend(std::shared_ptr<Module> module, const char* name);
+ ~Friend() override;
};
} // namespace Service::Friend