diff options
Diffstat (limited to 'lldb/source/API/SBThreadCollection.cpp')
-rw-r--r-- | lldb/source/API/SBThreadCollection.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBThreadCollection.cpp b/lldb/source/API/SBThreadCollection.cpp index b9c1e755468..90c5f810200 100644 --- a/lldb/source/API/SBThreadCollection.cpp +++ b/lldb/source/API/SBThreadCollection.cpp @@ -62,6 +62,10 @@ const lldb::ThreadCollectionSP &SBThreadCollection::operator*() const { bool SBThreadCollection::IsValid() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBThreadCollection, IsValid); + return this->operator bool(); +} +SBThreadCollection::operator bool() const { + LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBThreadCollection, operator bool); return m_opaque_sp.get() != NULL; } |