From a174bcbf033da7392b8c2c96c381d45f09a9810f Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Thu, 21 Jun 2018 15:24:39 +0000 Subject: Remove UUID::SetFromCString Replace uses with SetFromStringRef. NFC. llvm-svn: 335246 --- lldb/source/API/SBTarget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/API/SBTarget.cpp') diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index 27880e8399b..7af3e55dce9 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -1472,7 +1472,7 @@ lldb::SBModule SBTarget::AddModule(const char *path, const char *triple, module_spec.GetFileSpec().SetFile(path, false, FileSpec::Style::native); if (uuid_cstr) - module_spec.GetUUID().SetFromCString(uuid_cstr); + module_spec.GetUUID().SetFromStringRef(uuid_cstr); if (triple) module_spec.GetArchitecture() = Platform::GetAugmentedArchSpec( -- cgit v1.2.3