Set destructors virtual to avoid surprises

This commit is contained in:
Rico Tiongson 2020-04-17 22:34:45 +08:00
parent c0b69484a6
commit 9143c715c6
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -39,7 +39,7 @@ namespace comfortable_swipe
public: public:
xdo_gesture(); xdo_gesture();
~xdo_gesture(); virtual ~xdo_gesture();
}; };
} }
} }