mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Fix more ICU warnings
svn path=/trunk/; revision=38456
This commit is contained in:
parent
5341c63e40
commit
05530904b8
1 changed files with 2 additions and 2 deletions
|
@ -1314,7 +1314,7 @@ UnicodeString::cloneArrayIfNeeded(int32_t newCapacity,
|
|||
*/
|
||||
if(forceClone ||
|
||||
fFlags & kBufferIsReadonly ||
|
||||
fFlags & kRefCounted && refCount() > 1 ||
|
||||
(fFlags & kRefCounted && refCount() > 1) ||
|
||||
newCapacity > fCapacity
|
||||
) {
|
||||
// save old values
|
||||
|
@ -1330,7 +1330,7 @@ UnicodeString::cloneArrayIfNeeded(int32_t newCapacity,
|
|||
|
||||
// allocate a new array
|
||||
if(allocate(growCapacity) ||
|
||||
newCapacity < growCapacity && allocate(newCapacity)
|
||||
(newCapacity < growCapacity && allocate(newCapacity))
|
||||
) {
|
||||
if(doCopyArray) {
|
||||
// copy the contents
|
||||
|
|
Loading…
Reference in a new issue