1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 02:32:36 +01:00

Add missing virtual destructors to some base class

This commit is contained in:
RipleyTom 2021-12-15 08:17:11 +01:00 committed by Ivan
parent cc21d1b3cf
commit 43b7d1fe98
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@
class PadDevice
{
public:
virtual ~PadDevice() = default;
cfg_pad* config{ nullptr };
u8 player_id{0};
};

View File

@ -167,6 +167,7 @@ class usb_device
{
public:
usb_device(const std::array<u8, 7>& location);
virtual ~usb_device() = default;
virtual bool open_device() = 0;