diff options
author | nyamatongwe <unknown> | 2001-02-26 12:06:17 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-02-26 12:06:17 +0000 |
commit | a1e8419f50f4b017147f0fe18df81a167c8c0fac (patch) | |
tree | 92003a3bc13cad36426ff96c2eb2ab00d4b9fd09 | |
parent | f07a3a5f464c1822c41730f042e8edc20befaffd (diff) | |
download | scintilla-mirror-a1e8419f50f4b017147f0fe18df81a167c8c0fac.tar.gz |
WordList[] Returns non const as that made some other code simpler.
-rw-r--r-- | include/PropSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 15d0100d6..4cad0eecf 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -58,7 +58,7 @@ public: words(0), wordsNoCase(0), list(0), len(0), onlyLineEnds(onlyLineEnds_), sorted(false) {} ~WordList() { Clear(); } operator bool() { return len ? true : false; } - const char *operator[](int ind) { return words[ind]; } + char *operator[](int ind) { return words[ind]; } void Clear(); void Set(const char *s); char *Allocate(int size); |