From 380dc1cbed7715e3eecd5c0c844e5425e98ce91f Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 26 May 2023 16:06:24 +0200 Subject: [PATCH] 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 --- src/plugins/projectexplorer/msvcparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/msvcparser.cpp b/src/plugins/projectexplorer/msvcparser.cpp index 89c59443e1b..8452afcc5ab 100644 --- a/src/plugins/projectexplorer/msvcparser.cpp +++ b/src/plugins/projectexplorer/msvcparser.cpp @@ -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)