etl: iteration 2; auto const &
This commit is contained in:
parent
75da4fb100
commit
2c9def7e14
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ new_score_t transform(const old_score_t &input)
|
|||
{
|
||||
new_score_t result;
|
||||
|
||||
for (auto pair : input)
|
||||
for (auto const &pair : input)
|
||||
for (auto c : pair.second)
|
||||
result[tolower(c)] = pair.first;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue