diff options
Diffstat (limited to 'src/mbgl/renderer/paint_property_binder.hpp')
-rw-r--r-- | src/mbgl/renderer/paint_property_binder.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/renderer/paint_property_binder.hpp b/src/mbgl/renderer/paint_property_binder.hpp index 3a9dceacc0..61544be82d 100644 --- a/src/mbgl/renderer/paint_property_binder.hpp +++ b/src/mbgl/renderer/paint_property_binder.hpp @@ -227,7 +227,7 @@ public: const style::expression::Value& formattedSection) override { using style::expression::EvaluationContext; auto evaluated = expression.evaluate( - EvaluationContext(&feature).withFormattedSection(&formattedSection).withCanonicalTileID(canonical), + EvaluationContext(&feature).withFormattedSection(&formattedSection).withCanonicalTileID(&canonical), defaultValue); this->statistics.add(evaluated); auto value = attributeValue(evaluated); @@ -330,11 +330,11 @@ public: Range<T> range = { expression.evaluate(EvaluationContext(zoomRange.min, &feature) .withFormattedSection(&formattedSection) - .withCanonicalTileID(canonical), + .withCanonicalTileID(&canonical), defaultValue), expression.evaluate(EvaluationContext(zoomRange.max, &feature) .withFormattedSection(&formattedSection) - .withCanonicalTileID(canonical), + .withCanonicalTileID(&canonical), defaultValue), }; this->statistics.add(range.min); |