mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Another std::string StringRef assignment.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user