mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-19 13:26:42 +01:00
formatting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user