summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/within.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/expression/within.hpp')
-rw-r--r--include/mbgl/style/expression/within.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/within.hpp b/include/mbgl/style/expression/within.hpp
index 5e2b5e0671..88e9cc56b8 100644
--- a/include/mbgl/style/expression/within.hpp
+++ b/include/mbgl/style/expression/within.hpp
@@ -11,9 +11,11 @@ namespace mbgl {
namespace style {
namespace expression {
-class Within : public Expression {
+class Within final : public Expression {
public:
- Within(GeoJSON& geojson) : Expression(Kind::Within, type::Boolean), geoJSONSource(geojson) {}
+ explicit Within(GeoJSON geojson);
+
+ ~Within() final;
EvaluationResult evaluate(const EvaluationContext&) const override;