Skip to content

Commit 4e48847

Browse files
authored
Merge pull request #1682 from vedantk/use-stringref2
Convert std::string to StringRef
2 parents 0d2b23a + ee8e0bd commit 4e48847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/SwiftLanguageRuntime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ class SwiftLanguageRuntimeStub {
310310
};
311311

312312
static bool HasReflectionInfo(ObjectFile *obj_file) {
313-
auto findSectionInObject = [&](std::string name) {
313+
auto findSectionInObject = [&](StringRef name) {
314314
ConstString section_name(name);
315315
SectionSP section_sp =
316316
obj_file->GetSectionList()->FindSectionByName(section_name);

0 commit comments

Comments
 (0)