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/system_clock_context_update_callback.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/hle/service/time/system_clock_context_update_callback.h') diff --git a/src/core/hle/service/time/system_clock_context_update_callback.h b/src/core/hle/service/time/system_clock_context_update_callback.h index 6260de6c3..2b0fa7e75 100644 --- a/src/core/hle/service/time/system_clock_context_update_callback.h +++ b/src/core/hle/service/time/system_clock_context_update_callback.h @@ -20,7 +20,7 @@ namespace Service::Time::Clock { class SystemClockContextUpdateCallback { public: SystemClockContextUpdateCallback(); - ~SystemClockContextUpdateCallback(); + virtual ~SystemClockContextUpdateCallback(); bool NeedUpdate(const SystemClockContext& value) const; -- cgit v1.2.3