summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/mbgl/style/data_driven_property_value.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/style/data_driven_property_value.hpp b/include/mbgl/style/data_driven_property_value.hpp
index 7831c8ce9a..0a1fce29c7 100644
--- a/include/mbgl/style/data_driven_property_value.hpp
+++ b/include/mbgl/style/data_driven_property_value.hpp
@@ -54,7 +54,9 @@ public:
return value.match(
[] (const Undefined&) { return false; },
[] (const T&) { return false; },
- [] (const auto& fn) { return fn.isExpression; });
+ [] (const CameraFunction<T>& fn) { return fn.isExpression; },
+ [] (const SourceFunction<T>& fn) { return fn.isExpression; },
+ [] (const CompositeFunction<T>& fn) { return fn.isExpression; });
}
template <class... Ts>