summaryrefslogtreecommitdiff
path: root/source/slang/syntax-base-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax-base-defs.h')
-rw-r--r--source/slang/syntax-base-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/syntax-base-defs.h b/source/slang/syntax-base-defs.h
index 1853125a8..de8b294d8 100644
--- a/source/slang/syntax-base-defs.h
+++ b/source/slang/syntax-base-defs.h
@@ -180,7 +180,6 @@ END_SYNTAX_CLASS()
SYNTAX_CLASS(ThisTypeSubstitution, Substitutions)
// The actual type that provides the lookup scope for an associated type
SYNTAX_FIELD(RefPtr<Val>, sourceType)
-
RAW(
// Apply a set of substitutions to the bindings in this substitution
virtual RefPtr<Substitutions> SubstituteImpl(Substitutions* subst, int* ioDiff) override;
@@ -193,6 +192,7 @@ SYNTAX_CLASS(ThisTypeSubstitution, Substitutions)
}
virtual int GetHashCode() const override
{
+ SLANG_ASSERT(sourceType);
return sourceType->GetHashCode();
}
)