Set destructors virtual to avoid surprises
This commit is contained in:
parent
c0b69484a6
commit
9143c715c6
@ -44,7 +44,7 @@ namespace comfortable_swipe::gesture
|
||||
);
|
||||
|
||||
// destructor
|
||||
~keyboard_swipe_gesture();
|
||||
virtual ~keyboard_swipe_gesture();
|
||||
|
||||
// hooks that we override
|
||||
virtual void begin() override;
|
||||
|
||||
@ -34,7 +34,7 @@ namespace comfortable_swipe::gesture
|
||||
swipe_gesture();
|
||||
|
||||
// destructor
|
||||
~swipe_gesture();
|
||||
virtual ~swipe_gesture();
|
||||
|
||||
// fields for xdo
|
||||
int fingers;
|
||||
|
||||
@ -39,7 +39,7 @@ namespace comfortable_swipe
|
||||
|
||||
public:
|
||||
xdo_gesture();
|
||||
~xdo_gesture();
|
||||
virtual ~xdo_gesture();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user