Fixed the copy constructor for SBThread.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117825 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBThread.cpp b/source/API/SBThread.cpp
index 782569e..fc13631 100644
--- a/source/API/SBThread.cpp
+++ b/source/API/SBThread.cpp
@@ -51,7 +51,8 @@
{
}
-SBThread::SBThread (const SBThread &rhs)
+SBThread::SBThread (const SBThread &rhs) :
+ m_opaque_sp (rhs.m_opaque_sp)
{
}
@@ -490,7 +491,7 @@
}
const lldb::SBThread &
-SBThread::operator = (const lldb::SBThread &rhs)
+SBThread::operator = (const SBThread &rhs)
{
if (this != &rhs)
m_opaque_sp = rhs.m_opaque_sp;