]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Sat, 20 Jan 2024 15:33:32 +0000 (16:33 +0100)
commit3b90236b7bdfb81490dec1fa265c3cd96c2c7891
tree7e5dc660f8a9bf578bd3f5b062b1a2d6acadc125
parentafea9f3fd9db2bda53ee09c77418ebc559ccd569
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