Remove trailing whitespaces.
svn-id: r18604
This commit is contained in:
parent
86ab70b149
commit
6b4484472b
560 changed files with 11703 additions and 11703 deletions
|
@ -221,7 +221,7 @@ void String::toUppercase() {
|
|||
}
|
||||
|
||||
void String::ensureCapacity(int new_len, bool keep_old) {
|
||||
// If there is not enough space, or if we are not the only owner
|
||||
// If there is not enough space, or if we are not the only owner
|
||||
// of the current data, then we have to reallocate it.
|
||||
if (new_len <= _capacity && *_refCount == 1)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue