mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "Remove {Dictionary,Set,UnsafeMutableBufferPointer,UnsafeBufferPointer}.count"
This reverts commit r28248 while we discuss the change. Swift SVN r28291
This commit is contained in:
@@ -359,9 +359,9 @@ func makeQSortKiller(len: Int) -> [Int] {
|
||||
func Compare(x: Int, y : Int) -> Bool {
|
||||
if keys[x] == nil && keys[y] == nil {
|
||||
if (x == candidate) {
|
||||
keys[x] = keys.count()
|
||||
keys[x] = keys.count
|
||||
} else {
|
||||
keys[y] = keys.count()
|
||||
keys[y] = keys.count
|
||||
}
|
||||
}
|
||||
if keys[x] == nil {
|
||||
|
||||
Reference in New Issue
Block a user