summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBError.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBError.cpp')
-rw-r--r--lldb/source/API/SBError.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBError.cpp b/lldb/source/API/SBError.cpp
index 25250443552..c4627898282 100644
--- a/lldb/source/API/SBError.cpp
+++ b/lldb/source/API/SBError.cpp
@@ -33,7 +33,7 @@ const SBError &SBError::operator=(const SBError &rhs) {
if (this != &rhs)
m_opaque_up = clone(rhs.m_opaque_up);
- return *this;
+ return LLDB_RECORD_RESULT(*this);
}
const char *SBError::GetCString() const {
OpenPOWER on IntegriCloud