From dd7bcef72e277a11296c0a50bc9861fbef132b73 Mon Sep 17 00:00:00 2001 From: LLVM Packaging Team Date: Sun, 1 Jan 2023 14:42:15 +0000 Subject: [PATCH] lldb-swig-2 Gbp-Pq: Topic lldb Gbp-Pq: Name lldb-swig-2.diff --- lldb/bindings/python/python-typemaps.swig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig index bf3de66b91..d45431c771 100644 --- a/lldb/bindings/python/python-typemaps.swig +++ b/lldb/bindings/python/python-typemaps.swig @@ -435,7 +435,7 @@ template <> bool SetNumberFromPyObject(double &number, PyObject *obj) { %typemap(out) lldb::FileSP { $result = nullptr; - lldb::FileSP &sp = $1; + const lldb::FileSP &sp = $1; if (sp) { PythonFile pyfile = unwrapOrSetPythonException(PythonFile::FromFile(*sp)); if (!pyfile.IsValid()) -- 2.30.2