diff options
author | Brad Leege <bleege@gmail.com> | 2015-05-08 15:24:19 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-05-08 15:24:19 -0500 |
commit | 08f1d4b511ee8193735629214faeabf634617731 (patch) | |
tree | bd0c985e6794a5bc08eabd49a9509c7498dc1624 /platform | |
parent | 2eef6b44126428a1994dbf88564888bf1b11f222 (diff) | |
download | qtlocation-mapboxgl-08f1d4b511ee8193735629214faeabf634617731.tar.gz |
#1481 - Changing events array to be created with +arrayWithArray
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapboxEvents.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/MGLMapboxEvents.m b/platform/ios/MGLMapboxEvents.m index f7e50f6f4d..3a6559b766 100644 --- a/platform/ios/MGLMapboxEvents.m +++ b/platform/ios/MGLMapboxEvents.m @@ -409,8 +409,8 @@ NSString *const MGLEventGestureRotateStart = @"Rotation"; __block NSArray *events; // Make an immutable copy - events = [_eventQueue copy]; - + events = [NSArray arrayWithArray:_eventQueue]; + // Update Queue to remove events sent to server [_eventQueue removeAllObjects]; |