summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBModuleSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBModuleSpec.cpp')
-rw-r--r--lldb/source/API/SBModuleSpec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBModuleSpec.cpp b/lldb/source/API/SBModuleSpec.cpp
index 338118278b2..a5e9ad26fac 100644
--- a/lldb/source/API/SBModuleSpec.cpp
+++ b/lldb/source/API/SBModuleSpec.cpp
@@ -35,7 +35,7 @@ const SBModuleSpec &SBModuleSpec::operator=(const SBModuleSpec &rhs) {
if (this != &rhs)
m_opaque_up = clone(rhs.m_opaque_up);
- return *this;
+ return LLDB_RECORD_RESULT(*this);
}
SBModuleSpec::~SBModuleSpec() {}
@@ -166,7 +166,7 @@ SBModuleSpecList &SBModuleSpecList::operator=(const SBModuleSpecList &rhs) {
if (this != &rhs)
*m_opaque_up = *rhs.m_opaque_up;
- return *this;
+ return LLDB_RECORD_RESULT(*this);
}
SBModuleSpecList::~SBModuleSpecList() {}
OpenPOWER on IntegriCloud