aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-06-07 23:22:58 +0000
committernyamatongwe <unknown>2005-06-07 23:22:58 +0000
commit095541ea32fda8c0c5a7455ebc7c13529ec3d611 (patch)
tree3e79de7977e9252c45f589a466e2a15219b6bca3
parentb2dc7ac1c269b5641f616ce7ce0d2fe7355aa454 (diff)
downloadscintilla-mirror-095541ea32fda8c0c5a7455ebc7c13529ec3d611.tar.gz
Added virtual destructor to avoid warning from GCC 4.
-rw-r--r--include/KeyWords.h2
1 files changed, 2 insertions, 0 deletions
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