Stefan Brüns 2019-09-10 19:46:33 +00:00 committed by Git OBS Bridge
parent 4dd498f6c1
commit d49096cc02

View File

@ -1,23 +0,0 @@
From 08238a4e62e88ad976352c983f8212439a8f901e Mon Sep 17 00:00:00 2001
From: Pavel Grunt <pavel.grunt@innovatrics.com>
Date: Thu, 13 Jun 2019 10:40:14 +0200
Subject: [PATCH] Silence redundant-move warning
Happens with gcc-9.1
---
sources/ade/source/execution_engine.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sources/ade/source/execution_engine.cpp b/sources/ade/source/execution_engine.cpp
index fbc4b1d..3bc10a1 100644
--- a/sources/ade/source/execution_engine.cpp
+++ b/sources/ade/source/execution_engine.cpp
@@ -138,7 +138,7 @@ std::unique_ptr<Executable> ExecutionEngine::createExecutable(const Graph& graph
}
}
- return std::move(ret);
+ return ret;
}
void ExecutionEngine::addExecutableDependency(const std::string& lazyPassName)