From 095541ea32fda8c0c5a7455ebc7c13529ec3d611 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 7 Jun 2005 23:22:58 +0000 Subject: Added virtual destructor to avoid warning from GCC 4. --- include/KeyWords.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/KeyWords.h') diff --git a/include/KeyWords.h b/include/KeyWords.h index df4e870c5..cc81b73df 100644 --- a/include/KeyWords.h +++ b/include/KeyWords.h @@ -29,6 +29,8 @@ public: LexerModule(int language_, LexerFunction fnLexer_, const char *languageName_=0, LexerFunction fnFolder_=0, const char * const wordListDescriptions_[] = NULL); + virtual ~LexerModule() { + } int GetLanguage() const { return language; } // -1 is returned if no WordList information is available -- cgit v1.2.3