lldb-swig-2
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 5 Nov 2022 08:14:23 +0000 (08:14 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 5 Nov 2022 08:14:23 +0000 (08:14 +0000)
===================================================================

Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-swig-2.diff

lldb/bindings/python/python-typemaps.swig

index b1ace4ff3b1e1491528fff3e9ef103c7aa680869..5f8f4aa678c4009cb3169edab455634cb827a3c4 100644 (file)
@@ -439,7 +439,7 @@ bool SetNumberFromPyObject<double>(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())