mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-4404 Fix a typo regarding const usage.
X-SVN-Rev: 17194
This commit is contained in:
parent
ff6d9533d5
commit
f4b63ff7e0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue