diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-10-06 16:01:16 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-10-06 16:01:16 -0700 |
commit | 0bb46eaf0cac468ccbb0d42f7855640916d862c2 (patch) | |
tree | 482062b749096d81b6dd96071173644bc1e3e6f7 /platform/darwin/src/MGLForegroundStyleLayer.h | |
parent | 43658db28c93cbeda07f9ec56bf5f9d5faf81dd0 (diff) | |
download | qtlocation-mapboxgl-0bb46eaf0cac468ccbb0d42f7855640916d862c2.tar.gz |
[ios, macos] Mark incomplete initializers unavailable
Diffstat (limited to 'platform/darwin/src/MGLForegroundStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLForegroundStyleLayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLForegroundStyleLayer.h b/platform/darwin/src/MGLForegroundStyleLayer.h index cb98876810..642dde4992 100644 --- a/platform/darwin/src/MGLForegroundStyleLayer.h +++ b/platform/darwin/src/MGLForegroundStyleLayer.h @@ -18,6 +18,9 @@ NS_ASSUME_NONNULL_BEGIN #pragma mark Initializing a Style Layer +- (instancetype)init __attribute__((unavailable("Use -initWithIdentifier:source: instead."))); +- (instancetype)initWithIdentifier:(NSString *)identifier __attribute__((unavailable("Use -initWithIdentifier:source: instead."))); + /** Returns a foreground style layer initialized with an identifier and source. |