diff --git a/rpcs3/Emu/Io/KeyboardHandler.h b/rpcs3/Emu/Io/KeyboardHandler.h index 236896fb2d..04d143dd01 100644 --- a/rpcs3/Emu/Io/KeyboardHandler.h +++ b/rpcs3/Emu/Io/KeyboardHandler.h @@ -265,6 +265,7 @@ protected: public: virtual void Init(const u32 max_connect)=0; virtual void Close()=0; + virtual ~KeyboardHandlerBase() = default; void Key(const u32 code, bool pressed) { diff --git a/rpcs3/Emu/Io/MouseHandler.h b/rpcs3/Emu/Io/MouseHandler.h index 9eba9c6ba0..7c472c9d5e 100644 --- a/rpcs3/Emu/Io/MouseHandler.h +++ b/rpcs3/Emu/Io/MouseHandler.h @@ -106,6 +106,7 @@ protected: public: virtual void Init(const u32 max_connect)=0; virtual void Close()=0; + virtual ~MouseHandlerBase() = default; void Button(u8 button, bool pressed) {