ade/Silence_redundant-move_warning.patch
2019-07-08 12:49:20 +00:00

24 lines
795 B
Diff

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)