diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2017-10-10 06:55:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-10 06:55:36 -0700 |
commit | fed01fc8d409c03b62002b507a2aaf6f6f767272 (patch) | |
tree | cb3776e9844d8189ed9de96171cfa7a7dd0b2b52 /Firebase | |
parent | 3dd4aea125fb6e2c3776a9d7ba15a61e074a348a (diff) |
Fix warnings exposed by Xcode 9.1 in RTDB (#353)
Diffstat (limited to 'Firebase')
-rw-r--r-- | Firebase/Database/Core/Utilities/FIRRetryHelper.h | 2 | ||||
-rw-r--r-- | Firebase/Database/Core/Utilities/FIRRetryHelper.m | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Firebase/Database/Core/Utilities/FIRRetryHelper.h b/Firebase/Database/Core/Utilities/FIRRetryHelper.h index ffe2726..f83aad9 100644 --- a/Firebase/Database/Core/Utilities/FIRRetryHelper.h +++ b/Firebase/Database/Core/Utilities/FIRRetryHelper.h @@ -24,7 +24,7 @@ retryExponent:(double)retryExponent jitterFactor:(double)jitterFactor; -- (void) retry:(void (^)())block; +- (void) retry:(void (^)(void))block; - (void) cancel; diff --git a/Firebase/Database/Core/Utilities/FIRRetryHelper.m b/Firebase/Database/Core/Utilities/FIRRetryHelper.m index 6d79159..bcd9060 100644 --- a/Firebase/Database/Core/Utilities/FIRRetryHelper.m +++ b/Firebase/Database/Core/Utilities/FIRRetryHelper.m @@ -20,13 +20,13 @@ @interface FIRRetryHelperTask : NSObject -@property (nonatomic, strong) void (^block)(); +@property (nonatomic, strong) void (^block)(void); @end @implementation FIRRetryHelperTask -- (instancetype) initWithBlock:(void (^)())block { +- (instancetype) initWithBlock:(void (^)(void))block { self = [super init]; if (self != nil) { self->_block = [block copy]; @@ -86,7 +86,7 @@ return self; } -- (void) retry:(void (^)())block { +- (void) retry:(void (^)(void))block { if (self.scheduledRetry != nil) { FFLog(@"I-RDB054001", @"Canceling existing retry attempt"); [self.scheduledRetry cancel]; |