mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Fix No @interface declares "containsIndex:"
This fixes the `No visible @interface for NSArray declares the selector "containsIndex:"` error that prevented Xcode (9b6) from compiling.
This commit is contained in:
@@ -617,7 +617,7 @@ typedef enum
|
||||
|
||||
__block NSUInteger retIndex = NSNotFound;
|
||||
|
||||
[list enumerateObjectsAtIndexes: indexes options: NSEnumerationConcurrent usingBlock: ^(id checkNode, NSUInteger index, BOOL * stop) {
|
||||
[list enumerateObjectsAtIndexes: indexes options: NSEnumerationConcurrent usingBlock: ^(FileListNode * checkNode, NSUInteger index, BOOL * stop) {
|
||||
if ([[checkNode indexes] containsIndex: [[node indexes] firstIndex]])
|
||||
{
|
||||
if (![checkNode isFolder])
|
||||
|
||||
Reference in New Issue
Block a user