]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os: specialize fmt::formater<> for types
authorKefu Chai <tchaikov@gmail.com>
Wed, 14 Dec 2022 07:17:33 +0000 (15:17 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 14 Dec 2022 08:56:22 +0000 (16:56 +0800)
commit3e0d3eb15df6a4b4450ea724c57ca4b512a60fcb
treea2c3859694b58e536f1132723b92b46ea1fe4784
parentfe38c3caf1121829a3efe703af9dcafd9bf02b90
crimson/os: specialize fmt::formater<> for types

since fmt v9, fmt::formatter<> is not specialized for the types with
operator<<(ostream&, ...) anymore. so we need to specialize it manually.
in this change, fmt::formatter<> is specialized for tree_stats_t and
test_item_t so the tree can compile with fmt v9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/os/seastore/onode_manager/staged-fltree/fwd.h
src/test/crimson/seastore/onode_tree/test_value.h