diff options
Diffstat (limited to 'lldb/source/Interpreter/Property.cpp')
-rw-r--r-- | lldb/source/Interpreter/Property.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/Property.cpp b/lldb/source/Interpreter/Property.cpp index ba859a5398c..a15b985e8bb 100644 --- a/lldb/source/Interpreter/Property.cpp +++ b/lldb/source/Interpreter/Property.cpp @@ -54,7 +54,7 @@ Property::Property(const PropertyDefinition &definition) // default value. if (definition.default_cstr_value) m_value_sp.reset(new OptionValueBoolean(Args::StringToBoolean( - definition.default_cstr_value, false, nullptr))); + llvm::StringRef(definition.default_cstr_value), false, nullptr))); else m_value_sp.reset( new OptionValueBoolean(definition.default_uint_value != 0)); |