ColProject: Use of const
This commit is contained in:
@@ -107,7 +107,7 @@ void ColumnProject::render (
|
|||||||
std::vector <std::string> raw;
|
std::vector <std::string> raw;
|
||||||
wrapText (raw, project, width, _hyphenate);
|
wrapText (raw, project, width, _hyphenate);
|
||||||
|
|
||||||
for (auto& i : raw)
|
for (const auto& i : raw)
|
||||||
renderStringLeft (lines, width, color, i);
|
renderStringLeft (lines, width, color, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user