Commit 4621bd88 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

avoid copy in for loop

parent 0739e77b
Pipeline #124542 failed with stage
in 2 minutes and 1 second
......@@ -41,7 +41,7 @@ void ScreenTest::testBlockSelection()
const QString reallyBigTextForReflow = QStringLiteral("abcd efgh ijkl mnop qrst uvxz ABCD EFGH IJKL MNOP QRST UVXZ");
for (const auto c : reallyBigTextForReflow) {
for (const QChar &c : reallyBigTextForReflow) {
screen.displayCharacter(c.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