diff options
Diffstat (limited to 'include/mbgl/style/function/convert.hpp')
-rw-r--r-- | include/mbgl/style/function/convert.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/function/convert.hpp b/include/mbgl/style/function/convert.hpp index ed35b4bf14..9f7b7ed1f8 100644 --- a/include/mbgl/style/function/convert.hpp +++ b/include/mbgl/style/function/convert.hpp @@ -174,7 +174,7 @@ struct Convert { template <typename T> static std::map<double, std::unique_ptr<Expression>> convertStops(const std::map<float, T>& stops) { std::map<double, std::unique_ptr<Expression>> convertedStops; - for(const std::pair<float, T>& stop : stops) { + for(const auto& stop : stops) { convertedStops.emplace( stop.first, makeLiteral(stop.second) |