summaryrefslogtreecommitdiffstats
path: root/thirdparty/icu4c/common/uchriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/uchriter.cpp')
-rw-r--r--thirdparty/icu4c/common/uchriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/uchriter.cpp b/thirdparty/icu4c/common/uchriter.cpp
index c8b86e5d4d..903eb46c3b 100644
--- a/thirdparty/icu4c/common/uchriter.cpp
+++ b/thirdparty/icu4c/common/uchriter.cpp
@@ -172,7 +172,7 @@ UCharCharacterIterator::nextPostInc() {
UBool
UCharCharacterIterator::hasNext() {
- return (UBool)(pos < end ? true : false);
+ return pos < end;
}
char16_t
@@ -186,7 +186,7 @@ UCharCharacterIterator::previous() {
UBool
UCharCharacterIterator::hasPrevious() {
- return (UBool)(pos > begin ? true : false);
+ return pos > begin;
}
UChar32