mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Adopting lightweight generics (#2974)
This commit is contained in:
@@ -561,7 +561,7 @@
|
||||
return values;
|
||||
}
|
||||
|
||||
- (NSArray*)selectedTorrents
|
||||
- (NSArray<Torrent*>*)selectedTorrents
|
||||
{
|
||||
NSIndexSet* selectedIndexes = self.selectedRowIndexes;
|
||||
NSMutableArray* torrents = [NSMutableArray arrayWithCapacity:selectedIndexes.count]; //take a shot at guessing capacity
|
||||
|
||||
Reference in New Issue
Block a user