isOrderedBefore: => by areInIncreasingOrder:

This commit is contained in:
Dave Abrahams
2016-06-07 15:07:23 -07:00
parent 4b072f630c
commit 014b6972cf
16 changed files with 114 additions and 112 deletions

View File

@@ -246,7 +246,7 @@ testCocoa()
extension ArraySlice {
mutating func qsort(_ compare: (Element, Element) -> Bool) {
_introSort(&self, subRange: Range(self.indices), isOrderedBefore: compare)
_introSort(&self, subRange: Range(self.indices), by: compare)
}
}