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 <ism...@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()); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits