summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayer.h.ejs
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-04-12 12:08:36 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-04-13 10:33:18 -0700
commit80d0420ea64b13a93891c805baf7072ecd329876 (patch)
treed31987dd1e751d56d5fa3f483fe0c9b22e08c3cb /platform/darwin/src/MGLStyleLayer.h.ejs
parente5c6d2838db146bdde68ba365712deb32c61ad67 (diff)
downloadqtlocation-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/MGLStyleLayer.h.ejs')
-rw-r--r--platform/darwin/src/MGLStyleLayer.h.ejs4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.h.ejs b/platform/darwin/src/MGLStyleLayer.h.ejs
index a91cde672e..e29ea4611d 100644
--- a/platform/darwin/src/MGLStyleLayer.h.ejs
+++ b/platform/darwin/src/MGLStyleLayer.h.ejs
@@ -94,7 +94,7 @@ style using the `-[MGLStyle addLayer:]` or
@param identifier A string that uniquely identifies the source in the style to
which it is added.
*/
-- (instancetype)initWithIdentifier:(NSString *)identifier NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithIdentifier:(NSString *)identifier;
<% } else { -%>
/**
@@ -110,7 +110,7 @@ which it is added.
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;
<% } -%>
<% if (layoutProperties.length) { -%>