]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/config_proxy: add a helper for get_val<>() 41214/head
authorKefu Chai <kchai@redhat.com>
Fri, 7 May 2021 05:14:33 +0000 (13:14 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 7 May 2021 05:55:51 +0000 (13:55 +0800)
commit7bed9716a3f42b6acbe679175fc1289b238d4309
treebf20dfa77817154d3963ef399fba67432ef80a9a
parente77f5f7f758d818617a84955b088155018cc29ad
crimson/common/config_proxy: add a helper for get_val<>()

otherwise we have to put something like

local_conf().template get_val<T>(name)

which is not quite convenient or readable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/config_proxy.h