diff options
author | Brad Leege <bleege@gmail.com> | 2015-04-24 15:41:21 -0500 |
---|---|---|
committer | Brad Leege <bleege@gmail.com> | 2015-04-24 15:41:21 -0500 |
commit | 591c63286b6471a6c769eb17d8e1b16c698a4e11 (patch) | |
tree | 27ec772627c93302dc6dd1629412555bc9a0bc93 /platform/ios/MapboxGL.m | |
parent | 317be3470827ab278e930240b71fefee3fe87c02 (diff) | |
download | qtlocation-mapboxgl-591c63286b6471a6c769eb17d8e1b16c698a4e11.tar.gz |
#1225 - Converting id to instancetype
Diffstat (limited to 'platform/ios/MapboxGL.m')
-rw-r--r-- | platform/ios/MapboxGL.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MapboxGL.m b/platform/ios/MapboxGL.m index 97ac8f1d5d..0c88128215 100644 --- a/platform/ios/MapboxGL.m +++ b/platform/ios/MapboxGL.m @@ -17,7 +17,7 @@ static MapboxGL *_sharedManager; // Can be called from any thread. Called implicitly from any // public class convenience methods. // -+ (id) sharedInstanceWithAccessToken:(NSString *)token { ++ (instancetype) sharedInstanceWithAccessToken:(NSString *)token { static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ if ( ! NSProcessInfo.processInfo.mgl_isInterfaceBuilderDesignablesAgent) { |