Allow const nodes in VNRef

No functional change.
This commit is contained in:
Geza Lore
2022-05-15 13:30:07 +01:00
parent 7602c983c5
commit 89ec3d16dc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -530,6 +530,6 @@ V3Hash V3Hasher::uncachedHash(const AstNode* nodep) {
// This is used by the std::hash specialization for VNRef.
// Declared separately to avoid a circular header dependency.
size_t V3HasherUncachedHash(AstNode& node) {
size_t V3HasherUncachedHash(const AstNode& node) {
return static_cast<size_t>(V3Hasher::uncachedHash(&node).value());
}