mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-31 01:20:40 +08:00
Define umul128 in phmap namespace. (#273)
This commit is contained in:
committed by
GitHub
parent
40780b29bd
commit
896f1a03e4
@@ -62,7 +62,7 @@ public:
|
||||
uint64_t operator()(uint64_t boundExcluded) noexcept {
|
||||
#ifdef PHMAP_HAS_UMUL128
|
||||
uint64_t h;
|
||||
(void)umul128(operator()(), boundExcluded, &h);
|
||||
(void)phmap::umul128(operator()(), boundExcluded, &h);
|
||||
return h;
|
||||
#else
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user