From a0dd90eb7dc318c9b3fccb9ba02e1e22fb073094 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 5 Sep 2024 12:19:31 -0700 Subject: =?UTF-8?q?[lldb]=20Make=20conversions=20from=20llvm::Error=20expl?= =?UTF-8?q?icit=20with=20Status::FromEr=E2=80=A6=20(#107163)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …ror() [NFC] --- .../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 cbb6cd41aa86..c1dcdc7df6ce 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h @@ -269,7 +269,7 @@ protected: transformed_args); if (llvm::Error e = expected_return_object.takeError()) { - error = Status(std::move(e)); + error = Status::FromError(std::move(e)); return ErrorWithMessage(caller_signature, "Python method could not be called.", error); } -- cgit v1.2.3