diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index e7c2b451eb9d5..c6bda9da9f616 100644 --- a/lldb/source/API/SBModule.cpp +++ b/lldb/source/API/SBModule.cpp @@ -43,9 +43,7 @@ SBModule::SBModule(const SBModuleSpec &module_spec) { SetSP(module_sp); } -SBModule::SBModule(const SBModule &rhs) : m_opaque_sp(rhs.m_opaque_sp) { - LLDB_INSTRUMENT_VA(this, rhs); -} +SBModule::SBModule(const SBModule &rhs) = default; SBModule::SBModule(lldb::SBProcess &process, lldb::addr_t header_addr) { LLDB_INSTRUMENT_VA(this, process, header_addr);