aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.h1
-rw-r--r--src/qregisters.h1
2 files changed, 2 insertions, 0 deletions
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)
diff --git a/src/qregisters.h b/src/qregisters.h
index fc2c0be..840e442 100644
--- a/src/qregisters.h
+++ b/src/qregisters.h
@@ -48,6 +48,7 @@ public:
bool must_undo;
QRegisterData() : integer(0), must_undo(true) {}
+ virtual ~QRegisterData() {}
virtual tecoInt
set_integer(tecoInt i)