From 097d52757ee6948747f26c001b68ab0d7f0119ee Mon Sep 17 00:00:00 2001 From: Harry van Haaren Date: Mon, 12 Feb 2018 23:55:20 +0000 Subject: [PATCH] stately: add virtual destructor to class Mutes some compiler warnings Signed-off-by: Harry van Haaren --- src/state/stately.hxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/state/stately.hxx b/src/state/stately.hxx index 2bd48e5..c335076 100644 --- a/src/state/stately.hxx +++ b/src/state/stately.hxx @@ -34,6 +34,8 @@ class Stately public: Stately(); + virtual ~Stately() {} + /// this function being called resets the state of the instance to blank virtual void reset();