ICU-2347 Cast away const on delete.

X-SVN-Rev: 10245
This commit is contained in:
Steven R. Loomis 2002-11-14 00:47:56 +00:00
parent f9173f3f2b
commit e08ac06893

View file

@ -67,7 +67,7 @@ ucal_countAvailableTZIDs(int32_t rawOffset)
}
UErrorCode ec = U_ZERO_ERROR;
int32_t count = tzs->count(ec);
delete tzs;
delete (StringEnumeration*)tzs;
return count;
}