diff options
author | Greg Clayton <gclayton@apple.com> | 2010-10-30 18:26:59 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-10-30 18:26:59 +0000 |
commit | 92ef573550662ab28075108671a731c123fb6fd0 (patch) | |
tree | 9488d71492d1d3eae5398e6be5b8e4f1857776dc /lldb/source/API/SBThread.cpp | |
parent | 57bfc66d6067ad9d2d7e532fe4703587ab140f80 (diff) | |
download | bcm5719-llvm-92ef573550662ab28075108671a731c123fb6fd0.tar.gz bcm5719-llvm-92ef573550662ab28075108671a731c123fb6fd0.zip |
Fixed the copy constructor for SBThread.
llvm-svn: 117825
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 5 |
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; |