summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/rbbidata.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-10-28 09:09:20 +0200
committerGitHub <noreply@github.com>2021-10-28 09:09:20 +0200
commit0ec77631979997b3e6bcd9146ea8f1c3e4166b81 (patch)
treeb3d10a28da7ebbf1e8b8b9c25d1ac89c91aa0d73 /thirdparty/icu4c/common/rbbidata.cpp
parentd4067e661cf7d54ff24c223b7d0a7388dc08c6b2 (diff)
parent44a241b241af6453d4459c79b1a562c447e36636 (diff)
Merge pull request #54337 from bruvzg/icu_70_1
Diffstat (limited to 'thirdparty/icu4c/common/rbbidata.cpp')
-rw-r--r--thirdparty/icu4c/common/rbbidata.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/thirdparty/icu4c/common/rbbidata.cpp b/thirdparty/icu4c/common/rbbidata.cpp
index 193acafc44..6338ed3ed8 100644
--- a/thirdparty/icu4c/common/rbbidata.cpp
+++ b/thirdparty/icu4c/common/rbbidata.cpp
@@ -170,17 +170,17 @@ RBBIDataWrapper::~RBBIDataWrapper() {
// should still be ==.
//
//-----------------------------------------------------------------------------
-UBool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const {
+bool RBBIDataWrapper::operator ==(const RBBIDataWrapper &other) const {
if (fHeader == other.fHeader) {
- return TRUE;
+ return true;
}
if (fHeader->fLength != other.fHeader->fLength) {
- return FALSE;
+ return false;
}
if (uprv_memcmp(fHeader, other.fHeader, fHeader->fLength) == 0) {
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}
int32_t RBBIDataWrapper::hashCode() {
@@ -283,7 +283,7 @@ void RBBIDataWrapper::printData() {
printTable("Forward State Transition Table", fForwardTable);
printTable("Reverse State Transition Table", fReverseTable);
- RBBIDebugPrintf("\nOrignal Rules source:\n");
+ RBBIDebugPrintf("\nOriginal Rules source:\n");
for (int32_t c=0; fRuleSource[c] != 0; c++) {
RBBIDebugPrintf("%c", fRuleSource[c]);
}