diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-12 12:08:36 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-13 10:33:18 -0700 |
commit | 80d0420ea64b13a93891c805baf7072ecd329876 (patch) | |
tree | d31987dd1e751d56d5fa3f483fe0c9b22e08c3cb /platform/darwin/src/MGLCircleStyleLayer.h | |
parent | e5c6d2838db146bdde68ba365712deb32c61ad67 (diff) | |
download | qtlocation-mapboxgl-80d0420ea64b13a93891c805baf7072ecd329876.tar.gz |
[darwin] Remove use of NS_DESIGNATED_INITIALIZER from MGLStyleLayer subclasses
It produces compiler warnings for which there seems to be no workaround, and since there's only a single initializer, NS_DESIGNATED_INITIALIZER has little benefit.
Diffstat (limited to 'platform/darwin/src/MGLCircleStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLCircleStyleLayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLCircleStyleLayer.h b/platform/darwin/src/MGLCircleStyleLayer.h index efa18795a7..789ff7a258 100644 --- a/platform/darwin/src/MGLCircleStyleLayer.h +++ b/platform/darwin/src/MGLCircleStyleLayer.h @@ -92,7 +92,7 @@ MGL_EXPORT has not yet been added to the current style, the behavior is undefined. @return An initialized foreground style layer. */ -- (instancetype)initWithIdentifier:(NSString *)identifier source:(MGLSource *)source NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithIdentifier:(NSString *)identifier source:(MGLSource *)source; #pragma mark - Accessing the Paint Attributes |