Revert "[clang-tidy] Add const references where useful"

This reverts commit 37b641259c.
This commit is contained in:
Paul Beckingham
2020-12-05 16:18:15 -05:00
parent 8cf4e3de08
commit 2652a9d3f1
2 changed files with 5 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ static void countTasks (const std::vector <Task>&, const std::string&, int&, int
std::string taskIdentifiers (const std::vector <Task>& tasks)
{
std::vector <std::string> identifiers;
for (const auto& task: tasks)
for (auto task: tasks)
identifiers.push_back (task.identifier (true));
return join (", ", identifiers);