Skip to content

Commit

Permalink
Add proper type reference #312
Browse files Browse the repository at this point in the history
  • Loading branch information
vo-nil committed Aug 22, 2024
1 parent b6f7694 commit c7d1a20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace boost {
}

/* If some bits need to be assigned to the next limb */
if constexpr (!std::is_same<std::__bit_const_reference<std::vector<bool>>, Unsigned>::value) {
if constexpr (!std::is_same<std::vector<bool>::reference, Unsigned>::value) {
if (chunk_bits > sizeof(limb_type) * CHAR_BIT - shift) {
shift = sizeof(limb_type) * CHAR_BIT - shift;
chunk_bits -= shift;
Expand Down

0 comments on commit c7d1a20

Please sign in to comment.