Skip to content

Commit

Permalink
Try fixing C++11 static constexpr init
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Dec 9, 2024
1 parent 5736ced commit 6969edd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/genesis/utils/math/bitvector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ const std::array<Bitvector::IntType, Bitvector::IntSize> Bitvector::ONES_MASKS =
Bitvector::ALL_1 >> 4, Bitvector::ALL_1 >> 3, Bitvector::ALL_1 >> 2, Bitvector::ALL_1 >> 1
}};

constexpr size_t Bitvector::npos;

// =============================================================================
// Constructor and Rule of Five
// =============================================================================
Expand Down

0 comments on commit 6969edd

Please sign in to comment.