diff options
Diffstat (limited to 'dw/iterator.hh')
-rw-r--r-- | dw/iterator.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/iterator.hh b/dw/iterator.hh index f8fb4d31..89b9faac 100644 --- a/dw/iterator.hh +++ b/dw/iterator.hh @@ -219,7 +219,9 @@ public: class CharIterator: public object::Object, public misc::Comparable { public: - enum { START = -1, END = -2 }; + // START and END must not clash with any char value + // neither for signed nor unsigned char. + enum { START = 257, END = 258 }; private: DeepIterator *it; |