Skip to content

Commit

Permalink
Fix shadow variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Jun 15, 2024
1 parent be6e62b commit d8859ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/po_file_review.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ namespace i18n_check

std::vector<std::wstring> finalStrings;
finalStrings.reserve(results.size());
for (auto& res : results)
for (auto& result : results)
{
finalStrings.push_back(std::move(res.second));
finalStrings.push_back(std::move(result.second));
}

return convert_positional_cpp_printf(finalStrings, errorInfo);
Expand Down

0 comments on commit d8859ff

Please sign in to comment.