forked from qt-creator/qt-creator
AutoTest: performance-for-range-copy
Change-Id: I60e79aec1fe2813867d8ff46cec7d39b848d0020 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user