Fix #1003 (Compiler warning: is there a reason for Tokenizer::getErrorMessages to be virtual?)

Destructor is now virtual.
http://sourceforge.net/apps/trac/cppcheck/ticket/1003
This commit is contained in:
Reijo Tomperi 2009-11-22 16:06:33 +02:00
parent 9b397afeca
commit 2ff6ac9768
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ private:
public:
Tokenizer();
Tokenizer(const Settings * settings, ErrorLogger *errorLogger);
~Tokenizer();
virtual ~Tokenizer();
/**
* Tokenize code