summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBTarget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBTarget.cpp')
-rw-r--r--lldb/source/API/SBTarget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp
index 82224a930c6..f594827a1e2 100644
--- a/lldb/source/API/SBTarget.cpp
+++ b/lldb/source/API/SBTarget.cpp
@@ -119,7 +119,7 @@ SBTarget::GetDebugger () const
{
SBDebugger debugger;
if (m_opaque_sp)
- debugger.reset (m_opaque_sp->GetDebugger().GetSP());
+ debugger.reset (m_opaque_sp->GetDebugger().shared_from_this());
return debugger;
}
OpenPOWER on IntegriCloud