summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-09-05 13:06:43 -0700
committerjmkiley <jordan.kiley@mapbox.com>2019-09-25 14:28:56 -0700
commitcfa92e36626c68b42510962538a5054df397587d (patch)
treed4916ae5d8fe2811957fe3f8a86a49165c6e76f5
parent3e7dd450bbcae75de2e24b0e23d8bffa5854001d (diff)
downloadqtlocation-mapboxgl-cfa92e36626c68b42510962538a5054df397587d.tar.gz
[ios] remove reset
-rw-r--r--platform/darwin/src/MGLShapeSource.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLShapeSource.mm b/platform/darwin/src/MGLShapeSource.mm
index f8fa541133..99f8824699 100644
--- a/platform/darwin/src/MGLShapeSource.mm
+++ b/platform/darwin/src/MGLShapeSource.mm
@@ -111,7 +111,6 @@ mbgl::style::GeoJSONOptions MGLGeoJSONOptionsFromDictionary(NSDictionary<MGLShap
auto& mbglExpression1 = mbglValue.PropertyValue::asExpression().getExpression();
auto sharedExpressionPtr1 = std::make_shared<mbgl::style::expression::Expression>(mbglExpression1);
- sharedExpressionPtr1.reset();
auto mbglValue2 = MGLStyleValueTransformer<std::string, NSString *>().toPropertyValue<mbgl::style::PropertyValue<std::string>>(exp2, true);
auto& mbglExpression2 = mbglValue2.PropertyValue::asExpression().getExpression();