From 00e03825d80c4997fa35461d82ff267f721ae8a6 Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 18:07:26 -0400 Subject: merge --- source/slang/lower.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/slang/lower.cpp') diff --git a/source/slang/lower.cpp b/source/slang/lower.cpp index d207aac72..a9daa6eba 100644 --- a/source/slang/lower.cpp +++ b/source/slang/lower.cpp @@ -3835,10 +3835,10 @@ struct LoweringVisitor "Vector").As(); auto vectorTypeDecl = vectorGenericDecl->inner; - auto substitutions = new GenericSubstitution(); - substitutions->genericDecl = vectorGenericDecl.Ptr(); - substitutions->args.Add(elementType); - substitutions->args.Add(elementCount); + auto substs = new GenericSubstitution(); + substs->genericDecl = vectorGenericDecl.Ptr(); + substs->args.Add(elementType); + substs->args.Add(elementCount); auto declRef = DeclRef(vectorTypeDecl.Ptr(), substs); -- cgit v1.2.3