Skip to content

Commit 500b8af

Browse files
authored
Merge pull request #1510 from Teemperor/FixBuild20Jul2020
[lldb] Fix compile error due implicit StringRef -> std::string conversion
2 parents 3aee2ef + 5206ce5 commit 500b8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1273,7 +1273,7 @@ OptionalClangModuleID TypeSystemClang::GetOrCreateClangModule(
12731273
if (!created)
12741274
return ast_source->GetIDForModule(module);
12751275

1276-
module->APINotesFile = apinotes;
1276+
module->APINotesFile = std::string(apinotes);
12771277
return ast_source->RegisterModule(module);
12781278
}
12791279

0 commit comments

Comments
 (0)