aboutsummaryrefslogtreecommitdiff
path: root/lldb/bindings/python/python-typemaps.swig
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-12-04 13:14:02 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-12-04 13:14:02 +0000
commit458532c2dd24708181cdce77b8f60938fdc90dc6 (patch)
tree2fe1fc91fff79aa8d0c52c1c486aa89deadc3d67 /lldb/bindings/python/python-typemaps.swig
parentdafdd7863e9eeed3a714329b8758451cbcfc33bf (diff)
Diffstat (limited to 'lldb/bindings/python/python-typemaps.swig')
-rw-r--r--lldb/bindings/python/python-typemaps.swig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/bindings/python/python-typemaps.swig b/lldb/bindings/python/python-typemaps.swig
index bf3de66b91bf..d45431c771ca 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())