summaryrefslogtreecommitdiff
path: root/include/mbgl/style/data_driven_property_value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/data_driven_property_value.hpp')
-rw-r--r--include/mbgl/style/data_driven_property_value.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/mbgl/style/data_driven_property_value.hpp b/include/mbgl/style/data_driven_property_value.hpp
index a95eaa4ea8..baea861f62 100644
--- a/include/mbgl/style/data_driven_property_value.hpp
+++ b/include/mbgl/style/data_driven_property_value.hpp
@@ -52,14 +52,6 @@ public:
);
}
- bool isExpression() const {
- return value.match(
- [] (const Undefined&) { return false; },
- [] (const T&) { return false; },
- [] (const PropertyExpression<T>& fn) { return fn.isExpression; }
- );
- }
-
const T & asConstant() const { return value.template get< T >(); }
const PropertyExpression<T>& asExpression() const { return value.template get<PropertyExpression<T>>(); }