From baa17c4f5f507f2dfe71706f571e7879bb74cfc7 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 22 Mar 2018 13:47:55 -0700 Subject: GCC sucks --- include/mbgl/style/data_driven_property_value.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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& fn) { return fn.isExpression; }, + [] (const SourceFunction& fn) { return fn.isExpression; }, + [] (const CompositeFunction& fn) { return fn.isExpression; }); } template -- cgit v1.2.1