[stdlib] revert r18764.

Swift SVN r18765
This commit is contained in:
Manman Ren
2014-06-10 00:13:41 +00:00
parent cc90c81239
commit aec78d0693
6 changed files with 8 additions and 16 deletions

View File

@@ -339,7 +339,7 @@ struct _StringCore {
}
else if newSize > buffer.capacity {
// Growth failed because of insufficient storage; double the size
return (max2(buffer.capacity * 2, newSize), .null())
return (max(buffer.capacity * 2, newSize), .null())
}
}
return (newSize, .null())