mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Merge pull request #12473 from Dentomologist/bitset64_fix_iterator_incrementation
BitSet64: Fix iterator incrementation
This commit is contained in:
commit
043d868841
2 changed files with 33 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue