diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionValueProperties.cpp')
| -rw-r--r-- | lldb/source/Interpreter/OptionValueProperties.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionValueProperties.cpp b/lldb/source/Interpreter/OptionValueProperties.cpp index ae073798ca12..1a8f2f0ab180 100644 --- a/lldb/source/Interpreter/OptionValueProperties.cpp +++ b/lldb/source/Interpreter/OptionValueProperties.cpp @@ -48,7 +48,8 @@ void OptionValueProperties::AppendProperty(ConstString name, ConstString desc, bool is_global, const OptionValueSP &value_sp) { - Property property(name, desc, is_global, value_sp); + Property property(name.GetStringRef(), desc.GetStringRef(), is_global, + value_sp); m_name_to_index.Append(name, m_properties.size()); m_properties.push_back(property); value_sp->SetParent(shared_from_this()); |
