mirror of
https://github.com/verilator/verilator.git
synced 2025-01-15 02:54:03 +00:00
Merge branch 'master' into develop-v5
This commit is contained in:
commit
39b7c47e7b
@ -2150,7 +2150,7 @@ static_assert(sizeof(VNRef<AstNode>) == sizeof(std::reference_wrapper<AstNode>),
|
||||
// without having to copy nodes into the collections.
|
||||
|
||||
// Forward declaration to avoid including V3Hasher.h which needs V3Ast.h (this file).
|
||||
size_t V3HasherUncachedHash(AstNode&);
|
||||
size_t V3HasherUncachedHash(const AstNode&);
|
||||
|
||||
// Specialization of std::hash for VNRef
|
||||
template <typename T_Node> //
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user