From: Kefu Chai Date: Tue, 27 Jul 2021 04:15:19 +0000 (+0800) Subject: common/bloom_filter: use "using" for better readability X-Git-Tag: v17.1.0~1273^2~7 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5079e56b0cc36737389fe2325c313668d9642354;p=ceph.git common/bloom_filter: use "using" for better readability Signed-off-by: Kefu Chai --- diff --git a/src/common/bloom_filter.hpp b/src/common/bloom_filter.hpp index 024a2bd8f086..3eb83a813a34 100644 --- a/src/common/bloom_filter.hpp +++ b/src/common/bloom_filter.hpp @@ -45,8 +45,8 @@ class bloom_filter { protected: - typedef unsigned int bloom_type; - typedef unsigned char cell_type; + using bloom_type = unsigned int; + using cell_type = unsigned char; unsigned char* bit_table_; ///< pointer to bit map std::vector salt_; ///< vector of salts