Commit c046967e authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Test: for loop - avoid creating copies

parent a4229399
......@@ -32,7 +32,7 @@ void ScreenTest::doLargeScreenCopyVerification(const QString &putToScreen, const
{
Screen screen(largeScreenLines, largeScreenColumns);
for(const auto lineCharacter : putToScreen) {
for(const auto &lineCharacter : putToScreen) {
screen.displayCharacter(lineCharacter.toLatin1());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment