summaryrefslogtreecommitdiff
path: root/src/mbgl/style/possibly_evaluated_property_value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/possibly_evaluated_property_value.hpp')
-rw-r--r--src/mbgl/style/possibly_evaluated_property_value.hpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mbgl/style/possibly_evaluated_property_value.hpp b/src/mbgl/style/possibly_evaluated_property_value.hpp
index bb917442f6..8c3f1780a6 100644
--- a/src/mbgl/style/possibly_evaluated_property_value.hpp
+++ b/src/mbgl/style/possibly_evaluated_property_value.hpp
@@ -43,13 +43,6 @@ public:
auto match(Ts&&... ts) const {
return value.match(std::forward<Ts>(ts)...);
}
-
- T evaluate(float z, const GeometryTileFeature& feature) const {
- return value.match(
- [&] (const T& t) { return t; },
- [&] (const SourceFunction<T>& t) { return t.evaluate(feature); },
- [&] (const CompositeFunction<T>& t) { return t.evaluate(z, feature); });
- }
};
} // namespace style