Skip to content

Commit adc5756

Browse files
authored
Merge pull request swiftlang#30504 from benlangmuir/1604-next
Fix Ubuntu 16.04 master-next build
2 parents 3978d81 + f30102e commit adc5756

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Driver/ParseableOutput.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class DetailedCommandBasedMessage : public CommandBasedMessage {
141141
}
142142
file_types::forAllTypes([&](file_types::ID Ty) {
143143
for (auto Output : Cmd.getOutput().getAdditionalOutputsForType(Ty)) {
144-
Outputs.push_back(OutputPair(Ty, Output));
144+
Outputs.push_back(OutputPair(Ty, Output.str()));
145145
}
146146
});
147147
}

lib/Index/IndexRecord.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ emitDataForSwiftSerializedModule(ModuleDecl *module,
528528
indexStorePath.str(), &diags, outRecordFile);
529529
if (failed)
530530
return false;
531-
records.emplace_back(outRecordFile, moduleName.str());
531+
records.emplace_back(outRecordFile, moduleName.str().str());
532532
return true;
533533
});
534534
indexModule(module, groupIndexConsumer);

0 commit comments

Comments
 (0)