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