diff --git a/src/mbgl/style/function/identity_stops.cpp b/src/mbgl/style/function/identity_stops.cpp index dfb34e9dd..4c9d01d08 100644 --- a/src/mbgl/style/function/identity_stops.cpp +++ b/src/mbgl/style/function/identity_stops.cpp @@ -51,10 +51,11 @@ optional> IdentityStops>::evaluate(con return {}; } - return {{{ + std::array array {{ *numericValue(vector[0]), *numericValue(vector[1]) - }}}; + }}; + return array; } } // namespace style