diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2024-01-01 22:03:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-01 22:03:11 +0100 |
| commit | 043d868841affc0d2baff57e96c43e3551d0c6fe (patch) | |
| tree | fa83f03409a83ee60eca41945b0adce1ff0cc8c3 /Source/Core | |
| parent | 370daaf26cdb9a71095d6201bf493499d548e569 (diff) | |
| parent | 7dbf463ddf4a89ec7158c955b421adb77670d37e (diff) | |
Merge pull request #12473 from Dentomologist/bitset64_fix_iterator_incrementation
BitSet64: Fix iterator incrementation
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/BitSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/BitSet.h b/Source/Core/Common/BitSet.h index cc658a19f7..87e0038554 100644 --- a/Source/Core/Common/BitSet.h +++ b/Source/Core/Common/BitSet.h @@ -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; |
