From 0cfd3b94db89f4fc6b5755d61060a684aa9ff7d6 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 17 Apr 2020 19:57:48 -0400 Subject: service/time: Add virtual destructors where applicable Many of these implementations are used to implement a polymorphic interface. While not directly used polymorphically, this prevents virtual destruction from ever becoming an issue. --- src/core/hle/service/time/steady_clock_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/hle/service/time/steady_clock_core.h') diff --git a/src/core/hle/service/time/steady_clock_core.h b/src/core/hle/service/time/steady_clock_core.h index 84af3d105..d80a2385f 100644 --- a/src/core/hle/service/time/steady_clock_core.h +++ b/src/core/hle/service/time/steady_clock_core.h @@ -16,6 +16,7 @@ namespace Service::Time::Clock { class SteadyClockCore { public: SteadyClockCore() = default; + virtual ~SteadyClockCore() = default; const Common::UUID& GetClockSourceId() const { return clock_source_id; -- cgit v1.2.3