summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r--lldb/source/API/SBThread.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp
index 782569e5306..fc13631b137 100644
--- a/lldb/source/API/SBThread.cpp
+++ b/lldb/source/API/SBThread.cpp
@@ -51,7 +51,8 @@ SBThread::SBThread (const ThreadSP& lldb_object_sp) :
{
}
-SBThread::SBThread (const SBThread &rhs)
+SBThread::SBThread (const SBThread &rhs) :
+ m_opaque_sp (rhs.m_opaque_sp)
{
}
@@ -490,7 +491,7 @@ SBThread::GetFrameAtIndex (uint32_t idx)
}
const lldb::SBThread &
-SBThread::operator = (const lldb::SBThread &rhs)
+SBThread::operator = (const SBThread &rhs)
{
if (this != &rhs)
m_opaque_sp = rhs.m_opaque_sp;
OpenPOWER on IntegriCloud