mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Change UBool to bool for equality operators in ICU >= 70.1
Refer to: -633438f8da
-f6325d49ba
This commit is contained in:
parent
8a79668dbe
commit
81b3f95622
2 changed files with 8 additions and 0 deletions
|
@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakIterator()
|
|||
clearCurrentCharIter();
|
||||
}
|
||||
|
||||
#if U_ICU_VERSION_MAJOR_NUM >= 70
|
||||
bool CodePointBreakIterator::operator==(const BreakIterator& that) const
|
||||
#else
|
||||
UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
|
||||
#endif
|
||||
{
|
||||
if (typeid(*this) != typeid(that)) {
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue