mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix V3Hash MacOS ambiguity again (#6350)
This commit is contained in:
@@ -111,8 +111,8 @@ class OrderMoveDomScope final {
|
||||
struct Hash final {
|
||||
size_t operator()(const DomScopeMapKey& key) const {
|
||||
// cppcheck-suppress unreadVariable // cppcheck bug
|
||||
V3Hash hash{reinterpret_cast<uint64_t>(key.m_domainp)};
|
||||
hash += reinterpret_cast<uint64_t>(key.m_scopep);
|
||||
V3Hash hash{key.m_domainp};
|
||||
hash += key.m_scopep;
|
||||
return hash.value();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user