diff options
Diffstat (limited to 'include/mbgl/style/expression/expression.hpp')
-rw-r--r-- | include/mbgl/style/expression/expression.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/style/expression/expression.hpp b/include/mbgl/style/expression/expression.hpp index f19f64c1e7..1e34a8bd38 100644 --- a/include/mbgl/style/expression/expression.hpp +++ b/include/mbgl/style/expression/expression.hpp @@ -54,20 +54,20 @@ public: return *this; }; - EvaluationContext& withCanonicalTileID(const mbgl::CanonicalTileID& canonical_) noexcept { + EvaluationContext& withCanonicalTileID(const mbgl::CanonicalTileID* canonical_) noexcept { canonical = canonical_; return *this; }; optional<float> zoom; optional<mbgl::Value> accumulated; - optional<mbgl::CanonicalTileID> canonical; - GeometryTileFeature const * feature = nullptr; + GeometryTileFeature const* feature = nullptr; optional<double> colorRampParameter; // Contains formatted section object, std::unordered_map<std::string, Value>. const Value* formattedSection = nullptr; const FeatureState* featureState = nullptr; const std::set<std::string>* availableImages = nullptr; + const mbgl::CanonicalTileID* canonical = nullptr; }; template <typename T> |