Skip to content

Commit 3d6314c

Browse files
authored
Merge pull request #40510 from rxwei/fix-windows-build-from-40487
Fix windows build failure from #40487.
2 parents 2755f74 + 64a6705 commit 3d6314c

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)