From 4d593fe34ff89ce13882e47ccd95881ef4743c6b Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 7 Feb 2019 18:04:46 -0500 Subject: Hotfix/remove null this work around (#831) * Re-enable warnings around null this. * Remove testing for nullptr in Substitution::Equals tests * Fix ref counting problem in vulkan render. * * Remove SLANG_ASSERT(this) in mthods * Place asserts conservatively at method call sites where appropriate. --- source/slang/syntax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/syntax.h') diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 344e94ff9..6a404214e 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -417,7 +417,7 @@ namespace Slang : substitutions(subst) { } - bool Equals(SubstitutionSet substSet) const; + bool Equals(const SubstitutionSet& substSet) const; int GetHashCode() const; }; -- cgit v1.2.3