From 2f8a60d7189a7fe9ae2f2547fb5e0fac7f901b4b Mon Sep 17 00:00:00 2001 From: Doug Gregor Date: Tue, 19 Nov 2013 23:15:37 +0000 Subject: [PATCH] Silence a warning. Swift SVN r10563 --- lib/SILGen/SILGenPoly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SILGen/SILGenPoly.cpp b/lib/SILGen/SILGenPoly.cpp index cfefbb98000..2655878ab44 100644 --- a/lib/SILGen/SILGenPoly.cpp +++ b/lib/SILGen/SILGenPoly.cpp @@ -798,7 +798,7 @@ static CanSILFunctionType buildThunkType(SILGenFunction &gen, auto generics = gen.F.getLoweredFunctionType()->getGenericParams(); if (generics) { for (auto archetype : generics->getAllArchetypes()) - subs.push_back({ archetype, archetype}); + subs.push_back({ archetype, archetype, { }}); } // Add the function type as the parameter.