summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLFillStyleLayer.h
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/MGLFillStyleLayer.h
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/MGLFillStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLFillStyleLayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h
index 89f84185dc..6e3297bdec 100644
--- a/platform/darwin/src/MGLFillStyleLayer.h
+++ b/platform/darwin/src/MGLFillStyleLayer.h
@@ -65,7 +65,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