summaryrefslogtreecommitdiff
path: root/src/mbgl/style/function/identity_stops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/function/identity_stops.cpp')
-rw-r--r--src/mbgl/style/function/identity_stops.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/function/identity_stops.cpp b/src/mbgl/style/function/identity_stops.cpp
index 4c9d01d086..0c6891eac5 100644
--- a/src/mbgl/style/function/identity_stops.cpp
+++ b/src/mbgl/style/function/identity_stops.cpp
@@ -46,7 +46,7 @@ optional<std::array<float, 2>> IdentityStops<std::array<float, 2>>::evaluate(con
return {};
}
- const std::vector<Value>& vector = value.get<std::vector<Value>>();
+ const auto& vector = value.get<std::vector<Value>>();
if (vector.size() != 2 || !numericValue<float>(vector[0]) || !numericValue<float>(vector[1])) {
return {};
}