aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/i18n/collationiterator.cpp
diff options
context:
space:
mode:
authorromankoshelev <romankoshelev@yandex-team.com>2023-08-09 20:07:20 +0300
committerromankoshelev <romankoshelev@yandex-team.com>2023-08-09 20:59:13 +0300
commitfd82fb12fb45e71a02c628e45b12c50c0dd0d308 (patch)
treef582b79f9002ab1d083e9acda600dfb3551c47b6 /contrib/libs/icu/i18n/collationiterator.cpp
parentbf862ddf5c6178e1bb5e4fb3f7c61015deebe284 (diff)
downloadydb-fd82fb12fb45e71a02c628e45b12c50c0dd0d308.tar.gz
Update ICU to 70.1
Diffstat (limited to 'contrib/libs/icu/i18n/collationiterator.cpp')
-rw-r--r--contrib/libs/icu/i18n/collationiterator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/icu/i18n/collationiterator.cpp b/contrib/libs/icu/i18n/collationiterator.cpp
index 18ccf014f0..6bfdfbe7c7 100644
--- a/contrib/libs/icu/i18n/collationiterator.cpp
+++ b/contrib/libs/icu/i18n/collationiterator.cpp
@@ -168,7 +168,7 @@ CollationIterator::~CollationIterator() {
delete skipped;
}
-UBool
+bool
CollationIterator::operator==(const CollationIterator &other) const {
// Subclasses: Call this method and then add more specific checks.
// Compare the iterator state but not the collation data (trie & data fields):
@@ -180,12 +180,12 @@ CollationIterator::operator==(const CollationIterator &other) const {
cesIndex == other.cesIndex &&
numCpFwd == other.numCpFwd &&
isNumeric == other.isNumeric)) {
- return FALSE;
+ return false;
}
for(int32_t i = 0; i < ceBuffer.length; ++i) {
- if(ceBuffer.get(i) != other.ceBuffer.get(i)) { return FALSE; }
+ if(ceBuffer.get(i) != other.ceBuffer.get(i)) { return false; }
}
- return TRUE;
+ return true;
}
void