]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
include/cpp-btree: use "constexpr inline" for constants 32443/head
authorKefu Chai <kchai@redhat.com>
Sat, 4 Jan 2020 15:04:23 +0000 (23:04 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 15 Jan 2020 03:11:54 +0000 (11:11 +0800)
commitea542763c56075ae77e9a5cb78bf47feb8d868c3
treec4046778e3c28cbfb90ca339b4a25bca1bfd8dbd
parenta960391ddcbbe5d12d56796e36259f97350747a9
include/cpp-btree: use "constexpr inline" for constants

in C++17, it's a more general way to define constants. and these
constants are correctly typed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/include/cpp-btree/btree.h