aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-06-07 23:14:13 +0000
committernyamatongwe <devnull@localhost>2005-06-07 23:14:13 +0000
commit32f5cab7dd147870b495c35174acfaef36ce17d7 (patch)
treebcf1eaf70769e49748c3dee4bcf7448d2df7b92b /src
parentf576f0b7653fc98ce694c15aded527375e033a79 (diff)
downloadscintilla-mirror-32f5cab7dd147870b495c35174acfaef36ce17d7.tar.gz
Added virtual destructor to avoid warnings from GCC 4.
Diffstat (limited to 'src')
-rw-r--r--src/Document.cxx3
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;