formatting

This commit is contained in:
2020-06-10 17:29:28 +02:00
parent 200186ddde
commit ab72d342c9
16 changed files with 188 additions and 207 deletions

View File

@ -264,10 +264,10 @@ ToString(const T &obj) {
}
template <typename T>
std::vector<T> StringTo(const std::vector<std::string>& strings){
std::vector<T> StringTo(const std::vector<std::string> &strings) {
std::vector<T> result;
result.reserve(strings.size());
for (const auto& s : strings)
for (const auto &s : strings)
result.push_back(StringTo<T>(s));
return result;
}