Another std::string StringRef assignment.

This commit is contained in:
Arnold Schwaighofer
2020-05-13 07:35:11 -07:00
parent c1971be955
commit 622fee54a7

View File

@@ -1105,7 +1105,7 @@ bool InterfaceSubContextDelegateImpl::extractSwiftInterfaceVersionAndArgs(
if (CompRe.match(SB, &CompMatches)) {
assert(CompMatches.size() == 2);
CompilerVersion = SubArgSaver.save(CompMatches[1]);
CompilerVersion = SubArgSaver.save(CompMatches[1]).str();
}
else {
// Don't diagnose; handwritten module interfaces don't include this field.