summaryrefslogtreecommitdiff
path: root/ios/benchmark
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-05-29 09:15:48 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-05-29 09:15:48 -0700
commit10fdc7be9c293155c9e6206d58859a03d8dc0107 (patch)
tree740d2ca576c3e90a1686942a5d0fd98e04e73de9 /ios/benchmark
parent65aaf739569e3b3ea5d32f6bae26287f6b6935f7 (diff)
downloadqtlocation-mapboxgl-10fdc7be9c293155c9e6206d58859a03d8dc0107.tar.gz
Fixed ios-bench build
`accessToken` parameter was removed in #1553.
Diffstat (limited to 'ios/benchmark')
-rw-r--r--ios/benchmark/MBXBenchViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/benchmark/MBXBenchViewController.mm b/ios/benchmark/MBXBenchViewController.mm
index dfd3b254a3..8883ebff0f 100644
--- a/ios/benchmark/MBXBenchViewController.mm
+++ b/ios/benchmark/MBXBenchViewController.mm
@@ -33,7 +33,7 @@
[super viewDidLoad];
NSURL* url = [[NSURL alloc] initWithString:@"asset://styles/mapbox-streets-v7.json"];
- self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds accessToken:nil styleURL:url];
+ self.mapView = [[MGLMapView alloc] initWithFrame:self.view.bounds styleURL:url];
self.mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.mapView.delegate = self;
self.mapView.zoomEnabled = NO;