1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-01 17:25:38 +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:
Alexandre Jouandin 2017-08-31 01:21:08 +03:00
parent 0378ee8298
commit b0a05c2fd1

View file

@ -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])