[Lldb-commits] [lldb] r117825 - /lldb/trunk/source/API/SBThread.cpp
Greg Clayton
gclayton at apple.com
Sat Oct 30 11:27:00 PDT 2010
Author: gclayton
Date: Sat Oct 30 13:26:59 2010
New Revision: 117825
URL: http://llvm.org/viewvc/llvm-project?rev=117825&view=rev
Log:
Fixed the copy constructor for SBThread.
Modified:
lldb/trunk/source/API/SBThread.cpp
Modified: lldb/trunk/source/API/SBThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBThread.cpp?rev=117825&r1=117824&r2=117825&view=diff
==============================================================================
--- lldb/trunk/source/API/SBThread.cpp (original)
+++ lldb/trunk/source/API/SBThread.cpp Sat Oct 30 13:26:59 2010
@@ -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;
More information about the lldb-commits
mailing list