Skip to content

Commit

Permalink
Merge pull request #2518 from slxl/development
Browse files Browse the repository at this point in the history
Method signature update (Xcode 9)
  • Loading branch information
valeriomazzeo committed May 24, 2018
2 parents 0e65571 + 7c24195 commit 8802e73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Code/Support/RKOperationStateMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
@param block The block to execute after acquiring an exclusive lock on the receiver.
*/
- (void)performBlockWithLock:(void (^)())block;
- (void)performBlockWithLock:(void (^)(void))block;

@end

Expand Down
2 changes: 1 addition & 1 deletion Code/Support/RKOperationStateMachine.m
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ - (NSString *)description
([self isCancelled] ? @"YES" : @"NO")];
}

- (void)performBlockWithLock:(void (^)())block
- (void)performBlockWithLock:(void (^)(void))block
{
[self.lock lock];
block();
Expand Down

0 comments on commit 8802e73

Please sign in to comment.