diff options
Diffstat (limited to 'lldb/source/API/SBStringList.cpp')
| -rw-r--r-- | lldb/source/API/SBStringList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBStringList.cpp b/lldb/source/API/SBStringList.cpp index a248468b0cf..5a14bf82e37 100644 --- a/lldb/source/API/SBStringList.cpp +++ b/lldb/source/API/SBStringList.cpp @@ -51,6 +51,10 @@ const lldb_private::StringList &SBStringList::operator*() const { bool SBStringList::IsValid() const { LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBStringList, IsValid); + return this->operator bool(); +} +SBStringList::operator bool() const { + LLDB_RECORD_METHOD_CONST_NO_ARGS(bool, SBStringList, operator bool); return (m_opaque_up != NULL); } |

