ICU-4404 Fix a typo regarding const usage.

X-SVN-Rev: 17194
This commit is contained in:
George Rhoten 2005-02-08 18:58:26 +00:00
parent ff6d9533d5
commit f4b63ff7e0
2 changed files with 2 additions and 2 deletions

View file

@ -633,7 +633,7 @@ uset_containsAll(const USet* set1, const USet* set2);
* @draft ICU 3.4
*/
U_DRAFT UBool U_EXPORT2
uset_containsAllCodePoints(USet* set, const UChar *str, int32_t strLen);
uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
/**
* Returns true if set1 contains none of the characters and strings

View file

@ -156,7 +156,7 @@ uset_containsAll(const USet* set1, const USet* set2) {
}
U_CAPI UBool U_EXPORT2
uset_containsAllCodePoints(USet* set, const UChar *str, int32_t strLen) {
uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) {
// Create a string alias, since nothing is being added to the set.
UnicodeString s(strLen==-1, str, strLen);
return ((const UnicodeSet*) set)->containsAll(s);