diff options
Diffstat (limited to 'lldb/source/Interpreter')
-rw-r--r-- | lldb/source/Interpreter/OptionValueUUID.cpp | 2 | ||||
-rw-r--r-- | lldb/source/Interpreter/Property.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionValueUUID.cpp b/lldb/source/Interpreter/OptionValueUUID.cpp index 07c739db08a..b5c6600437a 100644 --- a/lldb/source/Interpreter/OptionValueUUID.cpp +++ b/lldb/source/Interpreter/OptionValueUUID.cpp @@ -43,7 +43,7 @@ Status OptionValueUUID::SetValueFromString(llvm::StringRef value, case eVarSetOperationReplace: case eVarSetOperationAssign: { - if (m_uuid.SetFromCString(value.str().c_str()) == 0) + if (m_uuid.SetFromStringRef(value) == 0) error.SetErrorStringWithFormat("invalid uuid string value '%s'", value.str().c_str()); else { diff --git a/lldb/source/Interpreter/Property.cpp b/lldb/source/Interpreter/Property.cpp index bef28f1bec5..369029bc570 100644 --- a/lldb/source/Interpreter/Property.cpp +++ b/lldb/source/Interpreter/Property.cpp @@ -194,7 +194,7 @@ Property::Property(const PropertyDefinition &definition) { UUID uuid; if (definition.default_cstr_value) - uuid.SetFromCString(definition.default_cstr_value); + uuid.SetFromStringRef(definition.default_cstr_value); m_value_sp.reset(new OptionValueUUID(uuid)); } break; |