From 5eaf7a6211c2120d0cd44b8ffae6d1ef6b205d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Mon, 11 Jan 2016 14:21:15 -0800 Subject: [ios, osx] Fixed Xcode 7.3 build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed a compiler error that’s new in Xcode 7.3. Also corrected a typo in MGLMapView on OS X. --- platform/osx/src/MGLMapView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/osx/src/MGLMapView.mm') diff --git a/platform/osx/src/MGLMapView.mm b/platform/osx/src/MGLMapView.mm index 7215963fb3..64aa592f7c 100644 --- a/platform/osx/src/MGLMapView.mm +++ b/platform/osx/src/MGLMapView.mm @@ -200,7 +200,7 @@ public: return self; } -- (instancetype)initWithFrame:(CGRect)frame styleURL:(nullable NSURL *)styleURL { +- (instancetype)initWithFrame:(NSRect)frame styleURL:(nullable NSURL *)styleURL { if (self = [super initWithFrame:frame]) { [self commonInit]; self.styleURL = styleURL; -- cgit v1.2.1