Merge pull request #12473 from Dentomologist/bitset64_fix_iterator_incrementation

BitSet64: Fix iterator incrementation
This commit is contained in:
Admiral H. Curtiss
2024-01-01 22:03:11 +01:00
committed by GitHub
2 changed files with 33 additions and 14 deletions

View File

@ -73,7 +73,7 @@ public:
else
{
int bit = std::countr_zero(m_val);
m_val &= ~(1 << bit);
m_val &= ~(IntTy{1} << bit);
m_bit = bit;
}
return *this;