From 6e4ba9bd552923b08cd56b4542b2f29e8df8ca0c Mon Sep 17 00:00:00 2001 From: Yong He Date: Sat, 4 Nov 2017 20:07:47 -0400 Subject: naming cleanup --- source/slang/check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/slang/check.cpp') diff --git a/source/slang/check.cpp b/source/slang/check.cpp index 58c1762bb..bc3823292 100644 --- a/source/slang/check.cpp +++ b/source/slang/check.cpp @@ -1638,10 +1638,10 @@ namespace Slang { // this is a sub type (e.g. nested struct declaration) in an aggregate type // check if this sub type declaration satisfies the constraints defined by the associated type - if (auto requiredTypeDecl = requiredMemberDeclRef.As()) + if (auto requiredTypeDeclRef = requiredMemberDeclRef.As()) { bool conformance = true; - for (auto & inheritanceDecl : requiredTypeDecl.getDecl()->getMembersOfType()) + for (auto & inheritanceDecl : requiredTypeDeclRef.getDecl()->getMembersOfType()) { conformance = conformance && checkConformance(subStructTypeDecl, inheritanceDecl.Ptr()); } -- cgit v1.2.3