diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-03-22 13:47:55 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-03-22 13:49:13 -0700 |
commit | baa17c4f5f507f2dfe71706f571e7879bb74cfc7 (patch) | |
tree | 5a26bad93ce64015cfd10ec001c35e8684fb1433 | |
parent | 08e2108149592a19c1cbfc664f4a25704d07ef2d (diff) | |
download | qtlocation-mapboxgl-upstream/fix-5599.tar.gz |
GCC sucksupstream/fix-5599
-rw-r--r-- | include/mbgl/style/data_driven_property_value.hpp | 4 |
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> |