Skip to content

Commit 481b847

Browse files
author
Nathan Hawes
authored
Merge pull request #33186 from nathawes/fix-more-string-conversion-issues
[master-rebranch] Fix more string conversion build issues
2 parents fafe81a + ac4fc64 commit 481b847

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)