| Index: third_party/icu/source/i18n/simpletz.cpp
|
| ===================================================================
|
| --- third_party/icu/source/i18n/simpletz.cpp (revision 74230)
|
| +++ third_party/icu/source/i18n/simpletz.cpp (working copy)
|
| @@ -21,7 +21,6 @@
|
| ********************************************************************************
|
| */
|
|
|
| -#include <typeinfo> // for 'typeid' to work
|
|
|
| #include "unicode/utypes.h"
|
|
|
| @@ -231,7 +230,7 @@
|
| SimpleTimeZone::operator==(const TimeZone& that) const
|
| {
|
| return ((this == &that) ||
|
| - (typeid(*this) == typeid(that) &&
|
| + (CR_TYPEID(*this) == CR_TYPEID(that) &&
|
| TimeZone::operator==(that) &&
|
| hasSameRules(that)));
|
| }
|
| @@ -743,7 +742,7 @@
|
| SimpleTimeZone::hasSameRules(const TimeZone& other) const
|
| {
|
| if (this == &other) return TRUE;
|
| - if (typeid(*this) != typeid(other)) return FALSE;
|
| + if (CR_TYPEID(*this) != CR_TYPEID(other)) return FALSE;
|
| SimpleTimeZone *that = (SimpleTimeZone*)&other;
|
| return rawOffset == that->rawOffset &&
|
| useDaylight == that->useDaylight &&
|
|
|