]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common, test: use std::popcount() when appropriate
authorKefu Chai <tchaikov@gmail.com>
Sun, 21 Aug 2022 16:37:12 +0000 (00:37 +0800)
committerKefu Chai <tchaikov@gmail.com>
Mon, 22 Aug 2022 10:03:59 +0000 (18:03 +0800)
commit844260f3a2a065298c94ceee8c1d9774fdbf825d
treeb5be1e69b89d0da90ddad2060927f6784a1fe72c
parentf4706f95e6e4e0c92610def09eb7b78b726be293
common, test: use std::popcount() when appropriate

prefer the facilities provided by standard library over the homebrew
ones for better readability and maintainability.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/common/bloom_filter.cc
src/test/erasure-code/TestErasureCodeShec_arguments.cc