Skip to content

Commit

Permalink
std::uint64_t -> uint64_t
Browse files Browse the repository at this point in the history
  • Loading branch information
kpu committed Oct 22, 2017
1 parent 07597d6 commit 7322ea5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/probing_hash_table.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7322ea5

Please sign in to comment.