Skip to content

Commit c0c9763

Browse files
committed
Adapt a swift/master change to master-next (StringRef vs std::string)
1 parent 24a054c commit c0c9763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/ModuleInterfaceLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ InterfaceSubContextDelegateImpl::InterfaceSubContextDelegateImpl(
12231223
// FIXME: we shouldn't need this. Remove it?
12241224
StringRef explictSwiftModuleMap = searchPathOpts.ExplicitSwiftModuleMap;
12251225
subInvocation.getSearchPathOptions().ExplicitSwiftModuleMap =
1226-
explictSwiftModuleMap;
1226+
explictSwiftModuleMap.str();
12271227
if (!explictSwiftModuleMap.empty()) {
12281228
GenericArgs.push_back("-explicit-swift-module-map-file");
12291229
GenericArgs.push_back(explictSwiftModuleMap);

0 commit comments

Comments
 (0)