mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Allow const nodes in VNRef
No functional change.
This commit is contained in:
+1
-1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user