forked from qt-creator/qt-creator
ProjectExplorer: Fix warning about unnecessary std::move()
Apparently, the original warning about an allegedly missing move does not appear anymore with current apple clang. Change-Id: If3704b62e72765156fd3264267c98ea91b4d04c3 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -61,7 +61,7 @@ static Task handleNmakeJomMessage(const QString &line)
|
||||
|
||||
CompileTask task(type, line.mid(matchLength).trimmed());
|
||||
task.details << line;
|
||||
return std::move(task);
|
||||
return task;
|
||||
}
|
||||
|
||||
static Task::TaskType taskType(const QString &category)
|
||||
|
||||
Reference in New Issue
Block a user