summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Guerra <fabian.guerra@mapbox.com>2018-11-14 11:47:46 -0800
committerFabian Guerra <fabian.guerra@mapbox.com>2018-11-14 11:47:46 -0800
commit7b9ec02b562af24412acf05ea32454e703580a92 (patch)
treeb41b4431b53b9faeaf77bfce2e0b8558195431eb
parentdd91bd451e3c28024e90e5150f1a3b24c3d7dafe (diff)
downloadqtlocation-mapboxgl-7b9ec02b562af24412acf05ea32454e703580a92.tar.gz
[ios, macos] Clean unnecesary blank lines in MGLLight.mm set methods.
-rw-r--r--platform/darwin/src/MGLLight.mm4
-rw-r--r--platform/darwin/src/MGLLight.mm.ejs1
2 files changed, 0 insertions, 5 deletions
diff --git a/platform/darwin/src/MGLLight.mm b/platform/darwin/src/MGLLight.mm
index 125dd94461..190391687e 100644
--- a/platform/darwin/src/MGLLight.mm
+++ b/platform/darwin/src/MGLLight.mm
@@ -111,13 +111,11 @@ NS_INLINE mbgl::style::TransitionOptions MGLOptionsFromTransition(MGLTransition
- (void)setAnchor:(NSExpression *)anchor {
MGLLogDebug(@"Setting anchor: %@", anchor);
-
_anchor = anchor;
}
- (void)setPosition:(NSExpression *)position {
MGLLogDebug(@"Setting position: %@", position);
-
_position = position;
}
@@ -128,7 +126,6 @@ NS_INLINE mbgl::style::TransitionOptions MGLOptionsFromTransition(MGLTransition
- (void)setColor:(NSExpression *)color {
MGLLogDebug(@"Setting color: %@", color);
-
_color = color;
}
@@ -139,7 +136,6 @@ NS_INLINE mbgl::style::TransitionOptions MGLOptionsFromTransition(MGLTransition
- (void)setIntensity:(NSExpression *)intensity {
MGLLogDebug(@"Setting intensity: %@", intensity);
-
_intensity = intensity;
}
diff --git a/platform/darwin/src/MGLLight.mm.ejs b/platform/darwin/src/MGLLight.mm.ejs
index 49db41c0ee..df79f4c842 100644
--- a/platform/darwin/src/MGLLight.mm.ejs
+++ b/platform/darwin/src/MGLLight.mm.ejs
@@ -119,7 +119,6 @@ NS_INLINE mbgl::style::TransitionOptions MGLOptionsFromTransition(MGLTransition
- (void)set<%- camelize(property.name) %>:(NSExpression *)<%- objCName(property) %> {
MGLLogDebug(@"Setting <%- objCName(property) %>: %@", <%- objCName(property) %>);
-
_<%- objCName(property) %> = <%- objCName(property) %>;
}
<% if (property["transition"]) { -%>