summaryrefslogtreecommitdiffstats
path: root/source/slang/lower.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2017-11-04 18:07:26 -0400
committerYong He <yonghe@outlook.com>2017-11-04 18:07:26 -0400
commit00e03825d80c4997fa35461d82ff267f721ae8a6 (patch)
tree0034427627bd5916594a00ad1da89e2c44ce4230 /source/slang/lower.cpp
parentd1009d1a5ac7463dc74169ed7c6e1e692b3541d7 (diff)
merge
Diffstat (limited to 'source/slang/lower.cpp')
-rw-r--r--source/slang/lower.cpp8
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);