aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-19 01:14:44 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-19 01:14:44 +0100
commit7f792e9b67d423cb6c6047836e9c24a32115a3eb (patch)
tree505e43d1dee20137f281a84bfe8f7141e0ab2bdd
parent274fe375264e1767a8dcaea06eaa5d6735e32e37 (diff)
downloadsciteco-7f792e9b67d423cb6c6047836e9c24a32115a3eb.tar.gz
avoid delete-non-virtual-dtor warning on g++ 4.7
* the warning itself makes sense but in the cases reportet they were irrelevant
-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)