Ignore:
Timestamp:
Jun 22, 2012, 11:42:50 AM (9 years ago)
Author:
livings124
Message:

explicit return type for a NSComparator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r13340 r13354  
    20912091    {
    20922092        //manually do the sorting in-place
    2093         const NSUInteger insertIndex = [rearrangeArray indexOfObject: [rearrangeArray objectAtIndex: currentIndex] inSortedRange: NSMakeRange(0, currentIndex) options: (NSBinarySearchingInsertionIndex | NSBinarySearchingLastEqual) usingComparator: ^(id obj1, id obj2) {
     2093        const NSUInteger insertIndex = [rearrangeArray indexOfObject: [rearrangeArray objectAtIndex: currentIndex] inSortedRange: NSMakeRange(0, currentIndex) options: (NSBinarySearchingInsertionIndex | NSBinarySearchingLastEqual) usingComparator: ^NSComparisonResult(id obj1, id obj2) {
    20942094            for (NSSortDescriptor * descriptor in descriptors)
    20952095            {
Note: See TracChangeset for help on using the changeset viewer.