Update new code in ModuleInterfaceLoader.cpp for StringRef -> std::string conversion change.

This commit is contained in:
Nathan Hawes
2020-07-20 18:50:08 -07:00
parent a81c5a0886
commit 1dd1b5a38a

View File

@@ -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();
}
}
}