summaryrefslogtreecommitdiffstats
path: root/macosx/HBDistributedArray.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-04-09 19:43:33 +0000
committerritsuka <[email protected]>2015-04-09 19:43:33 +0000
commitf360714523e5f1f78ced2ae8691f3087b80eef65 (patch)
tree026c25eeba6d089a53ee1f73aed7329a318088cd /macosx/HBDistributedArray.m
parentf0cc63a21d2e4510f911c4cde75d051aec3e5635 (diff)
MacGui: run the Xcode "convert to modern objective-c" on the entire project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDistributedArray.m')
-rw-r--r--macosx/HBDistributedArray.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBDistributedArray.m b/macosx/HBDistributedArray.m
index a8764cfbb..704f828c4 100644
--- a/macosx/HBDistributedArray.m
+++ b/macosx/HBDistributedArray.m
@@ -292,7 +292,7 @@ NSString *HBDistributedArraWrittenToDisk = @"HBDistributedArraWrittenToDisk";
- (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject
{
- [self.array replaceObjectAtIndex:index withObject:[self wrapObjectIfNeeded:anObject]];
+ (self.array)[index] = [self wrapObjectIfNeeded:anObject];
}
- (NSUInteger)count
@@ -302,7 +302,7 @@ NSString *HBDistributedArraWrittenToDisk = @"HBDistributedArraWrittenToDisk";
- (id)objectAtIndex:(NSUInteger)index
{
- return [self.array objectAtIndex:index];
+ return (self.array)[index];
}
@end