From e25dda1fdca3e282f7aaf4bf5cd5068031aad57d Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 26 Feb 2001 12:06:17 +0000 Subject: WordList[] Returns non const as that made some other code simpler. --- include/PropSet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/PropSet.h') 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); -- cgit v1.2.3