Skip to content

Commit 64a6705

Browse files
committed
Fix windows build failure from #40487.
1 parent e2f1907 commit 64a6705

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/SILGen/SILGenApply.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,9 @@ buildBuiltinLiteralArgs(SILGenFunction &SGF, SGFContext C,
19101910
RValue string = SGF.emitApplyAllocatingInitializer(
19111911
expr, strInitDecl, std::move(strLiteralArgs),
19121912
/*overriddenSelfType*/ Type(), SGFContext());
1913-
PreparedArguments args({AnyFunctionType::Param(ctx.getStringType())});
1913+
PreparedArguments args(
1914+
ArrayRef<AnyFunctionType::Param>({
1915+
AnyFunctionType::Param(ctx.getStringType())}));
19141916
args.add(expr, std::move(string));
19151917
return args;
19161918
}

0 commit comments

Comments
 (0)