Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
MGLMapboxEventAttributes dict doesn't need to be mutable
Browse files Browse the repository at this point in the history
  • Loading branch information
friedbunny committed Jan 11, 2016
1 parent 24ad765 commit 0dcd052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/src/MGLMapboxEvents.m
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ - (void) postEvents:(NS_ARRAY_OF(MGLMapboxEventAttributes *) *)events {
if ( ! strongSelf.paused) {
[[strongSelf.session dataTaskWithRequest:request] resume];
} else {
for (MGLMutableMapboxEventAttributes *event in events) {
for (MGLMapboxEventAttributes *event in events) {
if ([event[@"event"] isEqualToString:MGLEventTypeAppUserTurnstile]) {
NSURLSession *temporarySession = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]
delegate:strongSelf
Expand Down

0 comments on commit 0dcd052

Please sign in to comment.