From: LLVM Packaging Team Date: Sun, 4 Dec 2022 08:03:06 +0000 (+0000) Subject: lldb-swig-2 X-Git-Tag: archive/raspbian/1%16.0.6-15+rpi1~5^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a87525e2e5b7d02c468b788ce7a7c9e03e9bbd79;p=llvm-toolchain-16.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())