]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common: a simple API to extract md_config_cacher_t cached value
authorRonen Friedman <rfriedma@redhat.com>
Wed, 13 Nov 2024 09:02:00 +0000 (03:02 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Tue, 19 Nov 2024 13:37:17 +0000 (07:37 -0600)
commita99fa1c51eecdacea9b8523dd0542440ad4828cd
tree20b9863a09f0033cb8f826ef80b31e3362543716
parent29546089eec8a94b8b0ed4a947c841458b6d5d16
common: a simple API to extract md_config_cacher_t cached value

Using a type-deduced operator() (i.e. my_opt() ), instead of the
existing ValueT() operator (which requires a type-matching cast).

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/common/config_cacher.h