ICU-9437 remove a now-unnecessary const_cast

X-SVN-Rev: 32290
This commit is contained in:
Markus Scherer 2012-08-29 17:07:09 +00:00
parent 5f781dc97e
commit 582b65abf1

View file

@ -176,8 +176,7 @@ void UCAConformanceTest::testConformance(const Collator *coll)
return;
}
uint32_t skipFlags = 0;
// TODO: remove const_cast when merging to trunk
if(const_cast<Collator *>(coll)->getAttribute(UCOL_ALTERNATE_HANDLING, status) == UCOL_SHIFTED) {
if(coll->getAttribute(UCOL_ALTERNATE_HANDLING, status) == UCOL_SHIFTED) {
skipFlags |= IS_SHIFTED;
}
if(coll == rbUCA) {