diff options
Diffstat (limited to 'src/mbgl/style/function/expression.cpp')
-rw-r--r-- | src/mbgl/style/function/expression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/style/function/expression.cpp b/src/mbgl/style/function/expression.cpp index c620b0bb22..b609a6e576 100644 --- a/src/mbgl/style/function/expression.cpp +++ b/src/mbgl/style/function/expression.cpp @@ -1,4 +1,4 @@ -#include <mbgl/style/function/expression.hpp> +#include <mbgl/style/expression/expression.hpp> #include <mbgl/tile/geometry_tile_data.hpp> namespace mbgl { @@ -38,7 +38,7 @@ public: } }; -optional<OutputValue> Expression::evaluate(float z, const Feature& feature, Error& error) const { +optional<OutputValue> Expression::evaluate(float z, const Feature& feature, EvaluationError& error) const { std::unique_ptr<const GeometryTileFeature> f = std::make_unique<const GeoJSONFeature>(feature); return this->evaluate(z, *f, error); } |