summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-03-22 13:47:55 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-03-22 13:49:13 -0700
commitbaa17c4f5f507f2dfe71706f571e7879bb74cfc7 (patch)
tree5a26bad93ce64015cfd10ec001c35e8684fb1433
parent08e2108149592a19c1cbfc664f4a25704d07ef2d (diff)
downloadqtlocation-mapboxgl-upstream/fix-5599.tar.gz
-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>