summaryrefslogtreecommitdiff
path: root/lldb/source/API/SBThreadCollection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBThreadCollection.cpp')
-rw-r--r--lldb/source/API/SBThreadCollection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBThreadCollection.cpp b/lldb/source/API/SBThreadCollection.cpp
index 0850d01642f2..fcf066381c98 100644
--- a/lldb/source/API/SBThreadCollection.cpp
+++ b/lldb/source/API/SBThreadCollection.cpp
@@ -32,7 +32,7 @@ operator=(const SBThreadCollection &rhs) {
if (this != &rhs)
m_opaque_sp = rhs.m_opaque_sp;
- return LLDB_RECORD_RESULT(*this);
+ return *this;
}
SBThreadCollection::SBThreadCollection(const ThreadCollectionSP &threads)
@@ -85,5 +85,5 @@ SBThread SBThreadCollection::GetThreadAtIndex(size_t idx) {
SBThread thread;
if (m_opaque_sp && idx < m_opaque_sp->GetSize())
thread = m_opaque_sp->GetThreadAtIndex(idx);
- return LLDB_RECORD_RESULT(thread);
+ return thread;
}