[clang-tidy] Use new range based loops

Found with modernize-loop-convert

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2019-09-27 19:20:23 -07:00 committed by Paul Beckingham
parent 6ce2a129dd
commit a468537c1b
4 changed files with 20 additions and 20 deletions

View file

@ -320,8 +320,8 @@ std::string ViewTask::render (std::vector <Task>& data, std::vector <int>& seque
if (obfuscate)
if (_columns[c]->type () == "string")
for (unsigned int line = 0; line < cells[c].size (); ++line)
cells[c][line] = obfuscateText (cells[c][line]);
for (auto & line : cells[c])
line = obfuscateText (line);
}
// Listing breaks are simply blank lines inserted when a column value