From: LLVM Packaging Team Date: Sun, 1 Jan 2023 14:42:15 +0000 (+0000) Subject: lldb-swig-2 X-Git-Tag: archive/raspbian/1%14.0.6-10+rpi1~1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=dd7bcef72e277a11296c0a50bc9861fbef132b73;p=llvm-toolchain-14.git lldb-swig-2 Gbp-Pq: Topic lldb Gbp-Pq: Name lldb-swig-2.diff --- 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())