mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Fix V3Hash MacOS ambiguity (#5011)
This commit is contained in:
@@ -110,8 +110,8 @@ class OrderMoveDomScope final {
|
||||
|
||||
struct Hash final {
|
||||
size_t operator()(const DomScopeMapKey& key) const {
|
||||
V3Hash hash{reinterpret_cast<uintptr_t>(key.m_domainp)};
|
||||
hash += reinterpret_cast<uintptr_t>(key.m_scopep);
|
||||
V3Hash hash{reinterpret_cast<uint64_t>(key.m_domainp)};
|
||||
hash += reinterpret_cast<uint64_t>(key.m_scopep);
|
||||
return hash.value();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user