Skip to content

Commit 8c8c3d3

Browse files
ethanneffE-B-Smith
authored andcommitted
fix: corrected compile error with cordova sdk (#721)
1 parent 7408a9e commit 8c8c3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Branch-SDK/Branch-SDK/Networking/BNCServerRequestQueue.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ - (void)persistEventually {
233233
BNCNanoSecondsFromTimeInterval(BATCH_WRITE_TIMEOUT),
234234
BNCNanoSecondsFromTimeInterval(BATCH_WRITE_TIMEOUT / 10.0)
235235
);
236-
__weak typeof(self) weakSelf = self;
236+
__weak __typeof(self) weakSelf = self;
237237
dispatch_source_set_event_handler(self.persistTimer, ^ {
238-
__strong typeof(self) strongSelf = weakSelf;
238+
__strong __typeof(self) strongSelf = weakSelf;
239239
if (strongSelf) {
240240
[strongSelf persistImmediately];
241241
dispatch_source_cancel(strongSelf.persistTimer);

0 commit comments

Comments
 (0)