summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-02-07 18:04:46 -0500
committerGitHub <noreply@github.com>2019-02-07 18:04:46 -0500
commit4d593fe34ff89ce13882e47ccd95881ef4743c6b (patch)
tree532fc80cb72da150647c0bd50ee1bcaf3b4bc297 /source/slang/syntax.h
parent2d1291ae4f3de66e2d958b148d0811cbf2ee9c60 (diff)
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.
Diffstat (limited to 'source/slang/syntax.h')
-rw-r--r--source/slang/syntax.h2
1 files changed, 1 insertions, 1 deletions
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;
};