]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/bit_vector: fix IteratorImpl post-increment operator
authorIlya Dryomov <idryomov@gmail.com>
Sat, 6 Jan 2024 11:22:35 +0000 (12:22 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 2 Feb 2024 14:36:57 +0000 (15:36 +0100)
commit4f0c52eab3e102721581f74107cad8bc002ce2b9
treea159e8117d20f6518f646573cda0bb4cd0f06f74
parent5ca1c2b0fb742fb26cef3a5e417112229d1270b2
common/bit_vector: fix IteratorImpl post-increment operator

It's totally broken: instead of returning the current position and
moving to the next position, it returns the next position and doesn't
move anywhere.  Luckily it hasn't been used until now.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2ab5b52f71c88cb55f8ed82f1dfd0115fdd6e022)
src/common/bit_vector.hpp