summaryrefslogtreecommitdiff
path: root/src/mbgl/style/expression/expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/expression/expression.cpp')
-rw-r--r--src/mbgl/style/expression/expression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/expression/expression.cpp b/src/mbgl/style/expression/expression.cpp
index 4f5e3848d5..270fa5eba0 100644
--- a/src/mbgl/style/expression/expression.cpp
+++ b/src/mbgl/style/expression/expression.cpp
@@ -12,7 +12,7 @@ public:
const Feature& feature;
mutable optional<GeometryCollection> geometry;
- GeoJSONFeature(const Feature& feature_) : feature(feature_) {}
+ explicit GeoJSONFeature(const Feature& feature_) : feature(feature_) {}
GeoJSONFeature(const Feature& feature_, const CanonicalTileID& canonical) : feature(feature_) {
geometry = convertGeometry(feature.geometry, canonical);
// https://github.com/mapbox/geojson-vt-cpp/issues/44