lldb-swig-2
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 4 Nov 2022 18:36:56 +0000 (18:36 +0000)
Gbp-Pq: Topic lldb
Gbp-Pq: Name lldb-swig-2.diff

lldb/bindings/python/python-typemaps.swig

index bf3de66b91bf1a1d4dedb42fd3aa93c18c807f3c..d45431c771ca3b6dd527eca9466536514e8b3617 100644 (file)
@@ -435,7 +435,7 @@ template <> 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())