diff options
Diffstat (limited to 'source/slang/lower.cpp')
| -rw-r--r-- | source/slang/lower.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<GenericDecl>(); 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<Decl>(vectorTypeDecl.Ptr(), substs); |
