ICU-3668 make hasNext() const
X-SVN-Rev: 14802
This commit is contained in:
parent
91a017c2cc
commit
c1ef5d6f4b
@ -166,7 +166,7 @@ UCharCharacterIterator::nextPostInc() {
|
||||
}
|
||||
|
||||
UBool
|
||||
UCharCharacterIterator::hasNext() {
|
||||
UCharCharacterIterator::hasNext() const {
|
||||
return (UBool)(pos < end ? TRUE : FALSE);
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ public:
|
||||
* at or after the current position in the iteration range.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
virtual UBool hasNext() = 0;
|
||||
virtual UBool hasNext() const = 0;
|
||||
|
||||
protected:
|
||||
/** Default constructor to be overridden in the implementing class. @stable ICU 2.0*/
|
||||
|
@ -272,7 +272,7 @@ public:
|
||||
* at or after the current position in the iteration range.
|
||||
* @stable ICU 2.0
|
||||
*/
|
||||
virtual UBool hasNext();
|
||||
virtual UBool hasNext() const;
|
||||
|
||||
/**
|
||||
* Advances to the previous code unit in the iteration range (toward
|
||||
|
Loading…
Reference in New Issue
Block a user