mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
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:
@@ -40,6 +40,18 @@ SBCommandInterpreter::SBCommandInterpreter (CommandInterpreter *interpreter) :
|
||||
" => SBCommandInterpreter(%p)", interpreter, m_opaque_ptr);
|
||||
}
|
||||
|
||||
SBCommandInterpreter::SBCommandInterpreter(const SBCommandInterpreter &rhs) :
|
||||
m_opaque_ptr (rhs.m_opaque_ptr)
|
||||
{
|
||||
}
|
||||
|
||||
const SBCommandInterpreter &
|
||||
SBCommandInterpreter::operator = (const SBCommandInterpreter &rhs)
|
||||
{
|
||||
m_opaque_ptr = rhs.m_opaque_ptr;
|
||||
return *this;
|
||||
}
|
||||
|
||||
SBCommandInterpreter::~SBCommandInterpreter ()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user