diff options
Diffstat (limited to 'include/lldb/Core/ConstString.h')
-rw-r--r-- | include/lldb/Core/ConstString.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lldb/Core/ConstString.h b/include/lldb/Core/ConstString.h index cfa237c..cfe8ea2 100644 --- a/include/lldb/Core/ConstString.h +++ b/include/lldb/Core/ConstString.h @@ -233,7 +233,7 @@ public: const char * AsCString(const char *value_if_empty = NULL) const { - if (m_string == NULL) + if (IsEmpty()) return value_if_empty; return m_string; } |