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:
Christian Kandeler
2023-05-26 16:06:24 +02:00
parent 08b5f64c1a
commit 380dc1cbed

View File

@@ -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)