stdlib: change underestimateCount() into a method

rdar://19895265

Swift SVN r27346
This commit is contained in:
Dmitri Hrybenko
2015-04-16 05:05:17 +00:00
parent c7c25ad298
commit c48d6aa0ab
10 changed files with 225 additions and 110 deletions

View File

@@ -598,7 +598,7 @@ extension _StringCore : ExtensibleCollectionType {
}
}
let growth = s~>_underestimateCount()
let growth = s._prext_underestimateCount()
var g = s.generate()
if _fastPath(growth > 0) {