AutoTest: performance-for-range-copy

Change-Id: I60e79aec1fe2813867d8ff46cec7d39b848d0020
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Alessandro Portale
2020-06-11 16:53:11 +02:00
parent 4766ad2d18
commit bb89b80097
6 changed files with 7 additions and 7 deletions

View File

@@ -519,7 +519,7 @@ static void processOutput(TestOutputReader *outputreader, const QString &msg,
message = message.mid(gdbSpecialOut.length() + 1);
message.chop(1); // all messages have an additional \n at the end
for (auto line : message.split('\n')) {
for (const auto &line : message.split('\n')) {
if (format == Utils::OutputFormat::StdOutFormat)
outputreader->processStdOutput(line);
else