summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBBreakpointLocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBBreakpointLocation.cpp')
-rw-r--r--lldb/source/API/SBBreakpointLocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBBreakpointLocation.cpp b/lldb/source/API/SBBreakpointLocation.cpp
index 619428eb8c8..57cf5a1a5c7 100644
--- a/lldb/source/API/SBBreakpointLocation.cpp
+++ b/lldb/source/API/SBBreakpointLocation.cpp
@@ -301,7 +301,7 @@ SBBreakpointLocation::GetBreakpoint ()
if (m_opaque_sp)
{
Mutex::Locker api_locker (m_opaque_sp->GetBreakpoint().GetTarget().GetAPIMutex());
- *sb_bp = m_opaque_sp->GetBreakpoint ().GetSP();
+ *sb_bp = m_opaque_sp->GetBreakpoint ().shared_from_this();
}
if (log)
OpenPOWER on IntegriCloud