Skip to content

Commit

Permalink
fix false fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FAlbertDev committed Jan 11, 2024
1 parent 11c257e commit 9e916aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/utils/bitvector.h
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class bitvector_base final {
*/
bitvector_base& set() {
full_range_operation(
[](std::unsigned_integral auto block) -> decltype(block) { return static_cast<decltype(block)>(~0U); },
[](std::unsigned_integral auto block) -> decltype(block) { return static_cast<decltype(block)>(~0); },
*this);
zero_unused_bits();
return *this;
Expand All @@ -456,7 +456,7 @@ class bitvector_base final {
*/
bitvector_base& unset() {
full_range_operation(
[](std::unsigned_integral auto block) -> decltype(block) { return static_cast<decltype(block)>(0U); },
[](std::unsigned_integral auto block) -> decltype(block) { return static_cast<decltype(block)>(0); },
*this);
return *this;
}
Expand Down

0 comments on commit 9e916aa

Please sign in to comment.