[tidy] modernize-use-auto

This commit is contained in:
Bruno de Oliveira Abinader
2017-05-10 18:51:04 +03:00
parent f709d7b055
commit fa36110dfb
25 changed files with 49 additions and 50 deletions

View File

@@ -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 {};
}