mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
Fixed the copy constructor for SBThread.
llvm-svn: 117825
This commit is contained in:
1 parent
57bfc66d60
commit
92ef573550
1 file changed
+3
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user