Added copy constructors and assignment operators to all lldb::SB* classes
so we don't end up with weak exports with some compilers. llvm-svn: 118312
This commit is contained in:
@@ -28,6 +28,18 @@ SBBlock::SBBlock (lldb_private::Block *lldb_object_ptr) :
|
||||
{
|
||||
}
|
||||
|
||||
SBBlock::SBBlock(const SBBlock &rhs) :
|
||||
m_opaque_ptr (rhs.m_opaque_ptr)
|
||||
{
|
||||
}
|
||||
|
||||
const SBBlock &
|
||||
SBBlock::operator = (const SBBlock &rhs)
|
||||
{
|
||||
m_opaque_ptr = rhs.m_opaque_ptr;
|
||||
return *this;
|
||||
}
|
||||
|
||||
SBBlock::~SBBlock ()
|
||||
{
|
||||
m_opaque_ptr = NULL;
|
||||
|
||||
Reference in New Issue
Block a user