diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-28 09:09:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 09:09:20 +0200 |
commit | 0ec77631979997b3e6bcd9146ea8f1c3e4166b81 (patch) | |
tree | b3d10a28da7ebbf1e8b8b9c25d1ac89c91aa0d73 /thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp | |
parent | d4067e661cf7d54ff24c223b7d0a7388dc08c6b2 (diff) | |
parent | 44a241b241af6453d4459c79b1a562c447e36636 (diff) |
Merge pull request #54337 from bruvzg/icu_70_1
Diffstat (limited to 'thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp')
-rw-r--r-- | thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp b/thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp index 457905eb60..3002d64e34 100644 --- a/thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp +++ b/thirdparty/icu4c/common/ustr_titlecase_brkiter.cpp @@ -44,7 +44,7 @@ class WholeStringBreakIterator : public BreakIterator { public: WholeStringBreakIterator() : BreakIterator(), length(0) {} ~WholeStringBreakIterator() U_OVERRIDE; - UBool operator==(const BreakIterator&) const U_OVERRIDE; + bool operator==(const BreakIterator&) const U_OVERRIDE; WholeStringBreakIterator *clone() const U_OVERRIDE; static UClassID U_EXPORT2 getStaticClassID(); UClassID getDynamicClassID() const U_OVERRIDE; @@ -73,11 +73,11 @@ private: UOBJECT_DEFINE_RTTI_IMPLEMENTATION(WholeStringBreakIterator) WholeStringBreakIterator::~WholeStringBreakIterator() {} -UBool WholeStringBreakIterator::operator==(const BreakIterator&) const { return FALSE; } +bool WholeStringBreakIterator::operator==(const BreakIterator&) const { return false; } WholeStringBreakIterator *WholeStringBreakIterator::clone() const { return nullptr; } CharacterIterator &WholeStringBreakIterator::getText() const { - UPRV_UNREACHABLE; // really should not be called + UPRV_UNREACHABLE_EXIT; // really should not be called } UText *WholeStringBreakIterator::getUText(UText * /*fillIn*/, UErrorCode &errorCode) const { if (U_SUCCESS(errorCode)) { @@ -100,7 +100,7 @@ void WholeStringBreakIterator::setText(UText *text, UErrorCode &errorCode) { } } void WholeStringBreakIterator::adoptText(CharacterIterator*) { - UPRV_UNREACHABLE; // should not be called + UPRV_UNREACHABLE_EXIT; // should not be called } int32_t WholeStringBreakIterator::first() { return 0; } |