mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-01-16 00:43:14 -03:00
ControllerEmu::Control instances have a unique_ptr<ControlReference> member, which is passed either an InputReference or OutputReference. Without this virtual destructor, deleting a derived class through a pointer to the base class is undefined behavior.