Skip to content

Commit

Permalink
for win
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Dec 15, 2023
1 parent a859d57 commit 49c8943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ylt/thirdparty/frozen/bits/pmh.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct seed_or_index {

private:
static constexpr value_type MINUS_ONE =
std::numeric_limits<value_type>::max();
(std::numeric_limits<value_type>::max)();
static constexpr value_type HIGH_BIT = ~(MINUS_ONE >> 1);

value_type value_ = 0;
Expand Down Expand Up @@ -201,7 +201,7 @@ pmh_tables<M, Hash> constexpr make_pmh_tables(const carray<Item, N> &items,
carray<seed_or_index, M> G; // Default constructed to "index 0"

// H becomes the second hash table in the resulting pmh function
constexpr std::size_t UNUSED = std::numeric_limits<std::size_t>::max();
constexpr std::size_t UNUSED = (std::numeric_limits<std::size_t>::max)();
carray<std::size_t, M> H;
H.fill(UNUSED);

Expand Down

0 comments on commit 49c8943

Please sign in to comment.