replace iterator variable types with auto

This commit is contained in:
Konstantin Käfer
2015-04-01 16:42:20 +02:00
parent cc97675ca1
commit 220ebf61dd
22 changed files with 55 additions and 55 deletions

View File

@@ -77,7 +77,7 @@ void Painter::renderDebugText(const std::vector<std::string> &strings) {
DebugFontBuffer debugFontBuffer;
int line = 25;
for (const std::string &str : strings) {
for (const auto& str : strings) {
debugFontBuffer.addText(str.c_str(), 10, line, 0.75);
line += 20;
}