diff --git a/util/probing_hash_table.hh b/util/probing_hash_table.hh index 18cae85cd..1d45b6199 100644 --- a/util/probing_hash_table.hh +++ b/util/probing_hash_table.hh @@ -30,7 +30,7 @@ class DivMod { public: explicit DivMod(std::size_t buckets) : buckets_(buckets) {} - static std::uint64_t RoundBuckets(std::uint64_t from) { + static uint64_t RoundBuckets(uint64_t from) { return from; } @@ -58,7 +58,7 @@ class Power2Mod { } // Round up to next power of 2. - static std::uint64_t RoundBuckets(std::uint64_t from) { + static uint64_t RoundBuckets(uint64_t from) { --from; from |= from >> 1; from |= from >> 2;