Fix V3Hash MacOS ambiguity again (#6350)

This commit is contained in:
Lan Zongwei
2025-08-31 09:54:13 -04:00
committed by GitHub
parent 4eb030717a
commit 2aa260a03b
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -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();
}
};