Added virtual destructor to abstract class ButtonActions to avoid errors during destruction of child classes
This commit is contained in:
parent
8d2ae4c3c4
commit
934a76f017
|
@ -37,6 +37,8 @@ class Device;
|
||||||
class ButtonAction
|
class ButtonAction
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~ButtonAction() = default;
|
||||||
|
|
||||||
Action type;
|
Action type;
|
||||||
virtual ButtonAction* copy(Device* dev) = 0;
|
virtual ButtonAction* copy(Device* dev) = 0;
|
||||||
virtual void press() = 0;
|
virtual void press() = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user