]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/bloom_filter: use vector for holding bits
authorKefu Chai <kchai@redhat.com>
Tue, 27 Jul 2021 04:58:54 +0000 (12:58 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 27 Jul 2021 12:03:32 +0000 (20:03 +0800)
commit5d68abe1942acd6c1e439c95afac99e69dbd05f2
tree5cd000e8a9b078b287a96863802169c74877a8dd
parent5079e56b0cc36737389fe2325c313668d9642354
common/bloom_filter: use vector for holding bits

to be more consistent with the upstream at https://github.com/ArashPartow/bloom/blob/master/bloom_filter.hpp
and for better readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/bloom_filter.cc
src/common/bloom_filter.hpp