[Lldb-commits] [lldb] 7b8e686 - [lldb] Fix build failure introduced by f22d82c
Med Ismail Bennani via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 25 10:32:03 PDT 2023
Author: Med Ismail Bennani
Date: 2023-10-25T10:31:43-07:00
New Revision: 7b8e6861150e56198b5e477f382845439f4d1c06
URL: https://github.com/llvm/llvm-project/commit/7b8e6861150e56198b5e477f382845439f4d1c06
DIFF: https://github.com/llvm/llvm-project/commit/7b8e6861150e56198b5e477f382845439f4d1c06.diff
LOG: [lldb] Fix build failure introduced by f22d82c
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Added:
Modified:
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
Removed:
################################################################################
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
index 190cb40dc0fc79e..18651f3ddb03069 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
@@ -110,7 +110,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
transformed_args);
if (llvm::Error e = expected_return_object.takeError())
- return e;
+ return std::move(e);
result = std::move(expected_return_object.get());
}
More information about the lldb-commits
mailing list