From 7b8e6861150e56198b5e477f382845439f4d1c06 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Wed, 25 Oct 2023 10:31:29 -0700 Subject: [lldb] Fix build failure introduced by f22d82c Signed-off-by: Med Ismail Bennani --- .../ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h index 190cb40dc0fc..18651f3ddb03 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h @@ -110,7 +110,7 @@ public: transformed_args); if (llvm::Error e = expected_return_object.takeError()) - return e; + return std::move(e); result = std::move(expected_return_object.get()); } -- cgit v1.2.3