diff options
author | nyamatongwe <devnull@localhost> | 2005-06-07 23:14:13 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2005-06-07 23:14:13 +0000 |
commit | 32f5cab7dd147870b495c35174acfaef36ce17d7 (patch) | |
tree | bcf1eaf70769e49748c3dee4bcf7448d2df7b92b /src | |
parent | f576f0b7653fc98ce694c15aded527375e033a79 (diff) | |
download | scintilla-mirror-32f5cab7dd147870b495c35174acfaef36ce17d7.tar.gz |
Added virtual destructor to avoid warnings from GCC 4.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index c28879bea..8e78f5b46 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -966,6 +966,9 @@ public: pdoc(pdoc_), end(end_) { } + virtual ~DocumentIndexer() { + } + virtual char CharAt(int index) { if (index < 0 || index >= end) return 0; |