ICU-6426 fix breakage on solaris, aix, hp. merge from r26724
X-SVN-Rev: 26727
This commit is contained in:
parent
e2e3789ac4
commit
67134440a0
@ -395,7 +395,7 @@ void
|
||||
TextTrieMap::search(const UnicodeString &text, int32_t start,
|
||||
TextTrieMapSearchResultHandler *handler, UErrorCode &status) const {
|
||||
UBool trieNeedsInitialization = FALSE;
|
||||
UMTX_CHECK(TextTrieMutex, fLazyContents != NULL, trieNeedsInitialization);
|
||||
UMTX_CHECK(&TextTrieMutex, fLazyContents != NULL, trieNeedsInitialization);
|
||||
if (trieNeedsInitialization) {
|
||||
TextTrieMap *nonConstThis = const_cast<TextTrieMap *>(this);
|
||||
nonConstThis->buildTrie(status);
|
||||
|
Loading…
Reference in New Issue
Block a user