summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLFillStyleLayer.mm
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-11-22 11:30:15 -0800
committerJesse Bounds <jesse@rebounds.net>2016-11-22 19:53:54 -0800
commitd6d16c189a3ab9ec531c1b51f6c318312f7f3c1a (patch)
tree8378e02570cd06230d7069d0426693e96a644b2b /platform/darwin/src/MGLFillStyleLayer.mm
parent13e0f9e527366dce43f59055fde17818f443e356 (diff)
downloadqtlocation-mapboxgl-d6d16c189a3ab9ec531c1b51f6c318312f7f3c1a.tar.gz
[ios, macos] Remove unused `MGLGeometryAdditions` category stub
This fixes an issue where the documentation for all NSValue categories were described as `MGLGeometryAdditions`.
Diffstat (limited to 'platform/darwin/src/MGLFillStyleLayer.mm')
-rw-r--r--platform/darwin/src/MGLFillStyleLayer.mm6
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer.mm b/platform/darwin/src/MGLFillStyleLayer.mm
index 24c8a90f7f..3a3b443849 100644
--- a/platform/darwin/src/MGLFillStyleLayer.mm
+++ b/platform/darwin/src/MGLFillStyleLayer.mm
@@ -9,7 +9,6 @@
#import "MGLFillStyleLayer.h"
#include <mbgl/style/layers/fill_layer.hpp>
-
namespace mbgl {
MBGL_DEFINE_ENUM(MGLFillTranslateAnchor, {
@@ -136,10 +135,7 @@ namespace mbgl {
}
- (void)setFillTranslateAnchor:(MGLStyleValue<NSValue *> *)fillTranslateAnchor {
- auto mbglValue = MGLStyleValueTransformer<mbgl::style::TranslateAnchorType,
- NSValue *,
- mbgl::style::TranslateAnchorType,
- MGLFillTranslateAnchor>().toEnumPropertyValue(fillTranslateAnchor);
+ auto mbglValue = MGLStyleValueTransformer<mbgl::style::TranslateAnchorType, NSValue *, mbgl::style::TranslateAnchorType, MGLFillTranslateAnchor>().toEnumPropertyValue(fillTranslateAnchor);
_rawLayer->setFillTranslateAnchor(mbglValue);
}