aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-12-10 09:59:54 +1100
committernyamatongwe <unknown>2010-12-10 09:59:54 +1100
commita6636eb563da3108fe1a185cd442bb60cf873181 (patch)
tree4b8ed3e648b842458a7848226910f49199cf667d
parentd15d59fbf54fac4eeac55d4160d845cab8d0d0cd (diff)
downloadscintilla-mirror-a6636eb563da3108fe1a185cd442bb60cf873181.tar.gz
Made LexerBase destructor virtual so LexerSimple cleans up string member. Bug #3133672.
-rw-r--r--lexlib/LexerBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/LexerBase.h b/lexlib/LexerBase.h
index 02fc34dc3..2998d2449 100644
--- a/lexlib/LexerBase.h
+++ b/lexlib/LexerBase.h
@@ -20,7 +20,7 @@ protected:
WordList *keyWordLists[numWordLists+1];
public:
LexerBase();
- ~LexerBase();
+ virtual ~LexerBase();
void SCI_METHOD Release();
int SCI_METHOD Version() const;
const char * SCI_METHOD PropertyNames();