| Index: third_party/icu/source/i18n/tmunit.cpp
|
| ===================================================================
|
| --- third_party/icu/source/i18n/tmunit.cpp (revision 74230)
|
| +++ third_party/icu/source/i18n/tmunit.cpp (working copy)
|
| @@ -5,7 +5,6 @@
|
| *******************************************************************************
|
| */
|
|
|
| -#include <typeinfo> // for 'typeid' to work
|
|
|
| #include "unicode/tmunit.h"
|
|
|
| @@ -97,7 +96,7 @@
|
|
|
| UBool
|
| TimeUnit::operator==(const UObject& other) const {
|
| - return (typeid(*this) == typeid(other)
|
| + return (CR_TYPEID(*this) == CR_TYPEID(other)
|
| && fTimeUnitField == ((TimeUnit*)&other)->fTimeUnitField);
|
| }
|
|
|
|
|