diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-11 16:28:19 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-04-13 10:33:18 -0700 |
commit | e5c6d2838db146bdde68ba365712deb32c61ad67 (patch) | |
tree | dd67748d5907eb480d4c6f86235f13ea636ca14f /platform/darwin/src/MGLStyleLayer.mm.ejs | |
parent | 7b041b123cb067d247a727bb3a4563bb2fc575eb (diff) | |
download | qtlocation-mapboxgl-e5c6d2838db146bdde68ba365712deb32c61ad67.tar.gz |
[darwin] Make -[MGLForegroundStyleLayer sourceIdentifier] abstract
It's already overridden by concrete subclasses, and by making it abstract we enable the removal of the private MGLForegroundStyleLayer category.
Diffstat (limited to 'platform/darwin/src/MGLStyleLayer.mm.ejs')
-rw-r--r-- | platform/darwin/src/MGLStyleLayer.mm.ejs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.mm.ejs b/platform/darwin/src/MGLStyleLayer.mm.ejs index 74b67be74a..da67cbd633 100644 --- a/platform/darwin/src/MGLStyleLayer.mm.ejs +++ b/platform/darwin/src/MGLStyleLayer.mm.ejs @@ -11,7 +11,6 @@ #import "NSPredicate+MGLAdditions.h" #import "NSDate+MGLAdditions.h" #import "MGLStyleLayer_Private.h" -#import "MGLForegroundStyleLayer_Private.h" #import "MGLStyleValue_Private.h" #import "MGL<%- camelize(type) %>StyleLayer.h" @@ -67,7 +66,7 @@ namespace mbgl { - (instancetype)initWithIdentifier:(NSString *)identifier source:(MGLSource *)source { auto layer = std::make_unique<mbgl::style::<%- camelize(type) %>Layer>(identifier.UTF8String, source.identifier.UTF8String); - return self = [super initWithPendingLayer:std::move(layer) source:source]; + return self = [super initWithPendingLayer:std::move(layer)]; } <% } -%> |