diff --git a/lib/gesture/keyboard_swipe_gesture.h b/lib/gesture/keyboard_swipe_gesture.h index f9e9b77..957077a 100644 --- a/lib/gesture/keyboard_swipe_gesture.h +++ b/lib/gesture/keyboard_swipe_gesture.h @@ -44,7 +44,7 @@ namespace comfortable_swipe::gesture ); // destructor - ~keyboard_swipe_gesture(); + virtual ~keyboard_swipe_gesture(); // hooks that we override virtual void begin() override; diff --git a/lib/gesture/swipe_gesture.h b/lib/gesture/swipe_gesture.h index adeffd9..ea435c1 100644 --- a/lib/gesture/swipe_gesture.h +++ b/lib/gesture/swipe_gesture.h @@ -34,7 +34,7 @@ namespace comfortable_swipe::gesture swipe_gesture(); // destructor - ~swipe_gesture(); + virtual ~swipe_gesture(); // fields for xdo int fingers; diff --git a/lib/gesture/xdo_gesture.h b/lib/gesture/xdo_gesture.h index 0dd6834..a6d5625 100644 --- a/lib/gesture/xdo_gesture.h +++ b/lib/gesture/xdo_gesture.h @@ -39,7 +39,7 @@ namespace comfortable_swipe public: xdo_gesture(); - ~xdo_gesture(); + virtual ~xdo_gesture(); }; } }