mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 01:28:50 +00:00
14 lines
570 B
Diff
14 lines
570 B
Diff
diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
|
|
index 203be803d2ebd..11f68d59ae7be 100644
|
|
--- a/lldb/bindings/python/python-typemaps.swig
|
|
+++ b/lldb/bindings/python/python-typemaps.swig
|
|
@@ -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())
|