Fixed the copy constructor for SBThread.

llvm-svn: 117825
This commit is contained in:
Greg Clayton committed 2010-10-30 18:26:59 +00:00
1 parent 57bfc66d60
commit 92ef573550
1 file changed
+3 -2
+3 -2
View File
@@ -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;