diff options
-rw-r--r-- | src/text.cpp | 11 | ||||
-rw-r--r-- | src/text.h | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/src/text.cpp b/src/text.cpp index 7967b56f..545c1c0e 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -100,14 +100,3 @@ void FlashText::draw(Graphics *graphics, int xOff, int yOff) } Text::draw(graphics, xOff, yOff); } - -FlashText::~FlashText() -{ - mTime = 0; - textManager->removeText(this); - if (--mInstances == 0) - { - delete textManager; - textManager = 0; - } -} @@ -80,7 +80,7 @@ class FlashText : public Text /** * Remove the text from the screen */ - virtual ~FlashText(); + virtual ~FlashText() {} /** * Flash the text for so many refreshes |