mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Adapt to llvm.org StringRef API change
This commit is contained in:
committed by
Michael Forster
parent
710799dd09
commit
259d78a350
@@ -440,7 +440,7 @@ std::string SerializedModuleBaseName::getName(file_types::ID fileTy) const {
|
||||
result += '.';
|
||||
result += file_types::getExtension(fileTy);
|
||||
|
||||
return result.str();
|
||||
return std::string(result);
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user