summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-01-11 14:21:15 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-01-11 14:21:15 -0800
commit5eaf7a6211c2120d0cd44b8ffae6d1ef6b205d59 (patch)
tree323fc6709d8b5a38054b62407c935d2a2b998816 /include
parentc10f6489e61a52e3ae36af7cd2c40d120f9181da (diff)
downloadqtlocation-mapboxgl-5eaf7a6211c2120d0cd44b8ffae6d1ef6b205d59.tar.gz
[ios, osx] Fixed Xcode 7.3 build
Fixed a compiler error that’s new in Xcode 7.3. Also corrected a typo in MGLMapView on OS X.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/osx/MGLMapView.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/osx/MGLMapView.h b/include/mbgl/osx/MGLMapView.h
index ae701de27a..7c7bea74aa 100644
--- a/include/mbgl/osx/MGLMapView.h
+++ b/include/mbgl/osx/MGLMapView.h
@@ -69,7 +69,7 @@ IB_DESIGNABLE
@param frame The frame for the view, measured in points.
@return An initialized map view. */
-- (instancetype)initWithFrame:(CGRect)frame;
+- (instancetype)initWithFrame:(NSRect)frame;
/** Initializes and returns a newly allocated map view with the specified frame
and style URL.
@@ -80,7 +80,7 @@ IB_DESIGNABLE
(`mapbox://styles/<user>/<style>`), or a path to a local file relative
to the application’s resource path. Specify `nil` for the default style.
@return An initialized map view. */
-- (instancetype)initWithFrame:(CGRect)frame styleURL:(nullable NSURL *)styleURL;
+- (instancetype)initWithFrame:(NSRect)frame styleURL:(nullable NSURL *)styleURL;
#pragma mark Accessing the delegate
/** @name Accessing the Delegate */