From 7f792e9b67d423cb6c6047836e9c24a32115a3eb Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 19 Mar 2013 01:14:44 +0100 Subject: avoid delete-non-virtual-dtor warning on g++ 4.7 * the warning itself makes sense but in the cases reportet they were irrelevant --- src/parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/parser.h') diff --git a/src/parser.h b/src/parser.h index 0af481f..0b139d9 100644 --- a/src/parser.h +++ b/src/parser.h @@ -132,6 +132,7 @@ protected: public: MicroStateMachine() : StateStart(NULL), state(StateStart) {} + virtual ~MicroStateMachine() {} virtual inline void reset(void) -- cgit v1.2.3