diff options
Diffstat (limited to 'source/slang/syntax.cpp')
| -rw-r--r-- | source/slang/syntax.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp index d83a91938..e050fc977 100644 --- a/source/slang/syntax.cpp +++ b/source/slang/syntax.cpp @@ -1888,7 +1888,7 @@ void Type::accept(IValVisitor* visitor, void* extra) if(!otherProxy) return false; - return this->inst.usedValue == otherProxy->inst.usedValue; + return this->inst.get() == otherProxy->inst.get(); } String IRProxyVal::ToString() @@ -1898,7 +1898,7 @@ void Type::accept(IValVisitor* visitor, void* extra) int IRProxyVal::GetHashCode() { - auto hash = Slang::GetHashCode(inst.usedValue); + auto hash = Slang::GetHashCode(inst.get()); return hash; } |
