Skip to content

Commit ac4fc64

Browse files
author
Nathan Hawes
committed
Fix more StringRef -> std::string conversion build issues
1 parent fafe81a commit ac4fc64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/Frontend/ModuleInterfaceLoader.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,11 @@ class ExplicitModuleMapParser {
243243
if (key == "moduleName") {
244244
moduleName = val;
245245
} else if (key == "modulePath") {
246-
result.modulePath = val;
246+
result.modulePath = val.str();
247247
} else if (key == "docPath") {
248-
result.moduleDocPath = val;
248+
result.moduleDocPath = val.str();
249249
} else if (key == "sourceInfoPath") {
250-
result.moduleSourceInfoPath = val;
250+
result.moduleSourceInfoPath = val.str();
251251
} else {
252252
// Being forgiving for future fields.
253253
continue;

0 commit comments

Comments
 (0)