summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/time
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-11 03:20:52 +0200
committerLioncash <mathew1800@gmail.com>2018-09-11 05:55:31 +0200
commit6ac955a0b441d762a2ebc0ce96bc41954879c0fc (patch)
treeb3fffe585bf2c2ae052d94062bcc6844e8cdda8c /src/core/hle/service/time
parentUse open-source shared fonts if no dumped file is available (#1269) (diff)
downloadyuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.gz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.bz2
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.lz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.xz
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.tar.zst
yuzu-6ac955a0b441d762a2ebc0ce96bc41954879c0fc.zip
Diffstat (limited to 'src/core/hle/service/time')
-rw-r--r--src/core/hle/service/time/interface.cpp2
-rw-r--r--src/core/hle/service/time/interface.h1
-rw-r--r--src/core/hle/service/time/time.cpp2
-rw-r--r--src/core/hle/service/time/time.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/time/interface.cpp b/src/core/hle/service/time/interface.cpp
index 048d5b077..18a5d71d5 100644
--- a/src/core/hle/service/time/interface.cpp
+++ b/src/core/hle/service/time/interface.cpp
@@ -29,4 +29,6 @@ Time::Time(std::shared_ptr<Module> time, const char* name)
RegisterHandlers(functions);
}
+Time::~Time() = default;
+
} // namespace Service::Time
diff --git a/src/core/hle/service/time/interface.h b/src/core/hle/service/time/interface.h
index 183a53db1..cd6b44dec 100644
--- a/src/core/hle/service/time/interface.h
+++ b/src/core/hle/service/time/interface.h
@@ -11,6 +11,7 @@ namespace Service::Time {
class Time final : public Module::Interface {
public:
explicit Time(std::shared_ptr<Module> time, const char* name);
+ ~Time() override;
};
} // namespace Service::Time
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp
index 2172c681b..28fd8debc 100644
--- a/src/core/hle/service/time/time.cpp
+++ b/src/core/hle/service/time/time.cpp
@@ -210,6 +210,8 @@ void Module::Interface::GetStandardLocalSystemClock(Kernel::HLERequestContext& c
Module::Interface::Interface(std::shared_ptr<Module> time, const char* name)
: ServiceFramework(name), time(std::move(time)) {}
+Module::Interface::~Interface() = default;
+
void InstallInterfaces(SM::ServiceManager& service_manager) {
auto time = std::make_shared<Module>();
std::make_shared<Time>(time, "time:a")->InstallAsService(service_manager);
diff --git a/src/core/hle/service/time/time.h b/src/core/hle/service/time/time.h
index 8dde28a94..5659ecad3 100644
--- a/src/core/hle/service/time/time.h
+++ b/src/core/hle/service/time/time.h
@@ -58,6 +58,7 @@ public:
class Interface : public ServiceFramework<Interface> {
public:
explicit Interface(std::shared_ptr<Module> time, const char* name);
+ ~Interface() override;
void GetStandardUserSystemClock(Kernel::HLERequestContext& ctx);
void GetStandardNetworkSystemClock(Kernel::HLERequestContext& ctx);