summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r--lldb/source/Core/FormatEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index 99b4a807936..f5eb4d497c2 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -1106,7 +1106,7 @@ bool FormatEntity::Format(const Entry &entry, Stream &s,
return true; // Only return true if all items succeeded
case Entry::Type::String:
- s.PutCString(entry.string.c_str());
+ s.PutCString(entry.string);
return true;
case Entry::Type::Scope: {
OpenPOWER on IntegriCloud