mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update new code in ModuleInterfaceLoader.cpp for StringRef -> std::string conversion change.
This commit is contained in:
@@ -624,7 +624,7 @@ class ModuleInterfaceLoaderImpl {
|
||||
|
||||
if (shouldLoadAdjacentModule) {
|
||||
if (fs.exists(modulePath)) {
|
||||
result.first = modulePath;
|
||||
result.first = modulePath.str();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -641,7 +641,7 @@ class ModuleInterfaceLoaderImpl {
|
||||
}
|
||||
if (path) {
|
||||
if (fs.exists(*path)) {
|
||||
result.second = *path;
|
||||
result.second = path->str();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user