summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/unicode/parsepos.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2021-10-28 09:15:28 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2021-10-28 09:15:28 +0300
commit44a241b241af6453d4459c79b1a562c447e36636 (patch)
tree0b90326241b6e647b9f8991cddeee5e8d4d93e9f /thirdparty/icu4c/common/unicode/parsepos.h
parent157cba39331c5ca945c8c3bb2173c5363550a680 (diff)
ICU: Update to version 70.1
Diffstat (limited to 'thirdparty/icu4c/common/unicode/parsepos.h')
-rw-r--r--thirdparty/icu4c/common/unicode/parsepos.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/thirdparty/icu4c/common/unicode/parsepos.h b/thirdparty/icu4c/common/unicode/parsepos.h
index 260ed4cbb8..73945f5f97 100644
--- a/thirdparty/icu4c/common/unicode/parsepos.h
+++ b/thirdparty/icu4c/common/unicode/parsepos.h
@@ -100,14 +100,14 @@ public:
* @return true if the two parse positions are equal, false otherwise.
* @stable ICU 2.0
*/
- inline UBool operator==(const ParsePosition& that) const;
+ inline bool operator==(const ParsePosition& that) const;
/**
* Equality operator.
* @return true if the two parse positions are not equal, false otherwise.
* @stable ICU 2.0
*/
- inline UBool operator!=(const ParsePosition& that) const;
+ inline bool operator!=(const ParsePosition& that) const;
/**
* Clone this object.
@@ -166,7 +166,7 @@ public:
*
* @stable ICU 2.2
*/
- virtual UClassID getDynamicClassID() const;
+ virtual UClassID getDynamicClassID() const override;
private:
/**
@@ -192,7 +192,7 @@ ParsePosition::operator=(const ParsePosition& copy)
return *this;
}
-inline UBool
+inline bool
ParsePosition::operator==(const ParsePosition& copy) const
{
if(index != copy.index || errorIndex != copy.errorIndex)
@@ -201,7 +201,7 @@ ParsePosition::operator==(const ParsePosition& copy) const
return true;
}
-inline UBool
+inline bool
ParsePosition::operator!=(const ParsePosition& copy) const
{
return !operator==(copy);