summaryrefslogtreecommitdiff
path: root/src/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.h')
-rw-r--r--src/text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text.h b/src/text.h
index 0de495e0..67bb23ae 100644
--- a/src/text.h
+++ b/src/text.h
@@ -49,7 +49,7 @@ class Text
/**
* Remove the text from the screen
*/
- ~Text();
+ virtual ~Text();
/**
* Draws the text
@@ -80,7 +80,7 @@ class FlashText : public Text
/**
* Remove the text from the screen
*/
- ~FlashText();
+ virtual ~FlashText();
/**
* Flash the text for so many refreshes