aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Core/ConstString.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/ConstString.h')
-rw-r--r--include/lldb/Core/ConstString.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lldb/Core/ConstString.h b/include/lldb/Core/ConstString.h
index cfa237c46862..cfe8ea2db0e1 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;
}