]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/crimson: specialize fmt::formater<> for types to be formatted
authorKefu Chai <tchaikov@gmail.com>
Thu, 15 Dec 2022 09:32:55 +0000 (17:32 +0800)
committerKefu Chai <tchaikov@gmail.com>
Fri, 16 Dec 2022 02:37:25 +0000 (10:37 +0800)
commit5bb16452e9456ee0735fe824208f56946019fe63
treeaf9873ec4cf2c6ff5315e89e5f88e2699e94d868
parent19d69370c041aa65f777f626916c5861a98379a7
test/crimson: specialize fmt::formater<> for types to be formatted

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 some types to be
formatted with fmtlib, so the tree can compile with fmt v9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/net/Interceptor.h
src/test/crimson/seastore/test_block.h
src/test/crimson/seastore/test_transaction_manager.cc
src/test/crimson/test_messenger.cc