X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..51004dcb01e06fef634b61be77ed73dd61cb6db9:/icuSources/common/stringtriebuilder.cpp?ds=sidebyside diff --git a/icuSources/common/stringtriebuilder.cpp b/icuSources/common/stringtriebuilder.cpp index e3e58eb6..109fcdc5 100644 --- a/icuSources/common/stringtriebuilder.cpp +++ b/icuSources/common/stringtriebuilder.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2010-2011, International Business Machines +* Copyright (C) 2010-2012, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: stringtriebuilder.cpp @@ -12,7 +12,7 @@ * created by: Markus W. Scherer */ -#include // for 'typeid' to work +#include "utypeinfo.h" // for 'typeid' to work #include "unicode/utypes.h" #include "unicode/stringtriebuilder.h" #include "uassert.h" @@ -381,8 +381,6 @@ StringTrieBuilder::equalNodes(const void *left, const void *right) { return *(const Node *)left==*(const Node *)right; } -UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION(StringTrieBuilder) - UBool StringTrieBuilder::Node::operator==(const Node &other) const { return this==&other || (typeid(*this)==typeid(other) && hash==other.hash); @@ -396,8 +394,6 @@ StringTrieBuilder::Node::markRightEdgesFirst(int32_t edgeNumber) { return edgeNumber; } -UOBJECT_DEFINE_NO_RTTI_IMPLEMENTATION(StringTrieBuilder::Node) - UBool StringTrieBuilder::FinalValueNode::operator==(const Node &other) const { if(this==&other) {