ICU-535 Fixed some compiler warnings

X-SVN-Rev: 2539
This commit is contained in:
George Rhoten 2000-09-30 00:06:54 +00:00
parent abf1ce1516
commit 62caf39054

View File

@ -29,10 +29,10 @@ void RuleBasedTransliterator::_construct(const UnicodeString& rules,
}
}
RuleBasedTransliterator::RuleBasedTransliterator(const UnicodeString& ID,
RuleBasedTransliterator::RuleBasedTransliterator(const UnicodeString& id,
const TransliterationRuleData* theData,
UnicodeFilter* adoptedFilter) :
Transliterator(ID, adoptedFilter),
Transliterator(id, adoptedFilter),
data((TransliterationRuleData*)theData), // cast away const
isDataOwned(FALSE) {
setMaximumContextLength(data->ruleSet.getMaximumContextLength());