diff --git a/rpcs3/Emu/Io/PadHandler.h b/rpcs3/Emu/Io/PadHandler.h index 27217b1068..6fe1ceac7c 100644 --- a/rpcs3/Emu/Io/PadHandler.h +++ b/rpcs3/Emu/Io/PadHandler.h @@ -15,6 +15,7 @@ class PadDevice { public: + virtual ~PadDevice() = default; cfg_pad* config{ nullptr }; u8 player_id{0}; }; diff --git a/rpcs3/Emu/Io/usb_device.h b/rpcs3/Emu/Io/usb_device.h index d844788291..a665f01dd5 100644 --- a/rpcs3/Emu/Io/usb_device.h +++ b/rpcs3/Emu/Io/usb_device.h @@ -167,6 +167,7 @@ class usb_device { public: usb_device(const std::array& location); + virtual ~usb_device() = default; virtual bool open_device() = 0;