From 7a04750a69d0c9e31d412507ddcc5ab3822d6487 Mon Sep 17 00:00:00 2001 From: Pritha Srivastava Date: Thu, 28 Aug 2025 14:43:58 +0530 Subject: [PATCH] rgw/d4n: removing fmt related code as it is causing centos 9 build failure and is debug only code. Signed-off-by: Pritha Srivastava --- src/test/rgw/test_d4n_directory.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/test/rgw/test_d4n_directory.cc b/src/test/rgw/test_d4n_directory.cc index 2f7c436628e65..d41b389bee237 100644 --- a/src/test/rgw/test_d4n_directory.cc +++ b/src/test/rgw/test_d4n_directory.cc @@ -791,14 +791,6 @@ void foo(T t, std::vector>& responses) }); } -template <> struct fmt::formatter : fmt::ostream_formatter {}; -template <> struct fmt::formatter : fmt::formatter { - template auto format(boost::redis::resp3::node const& node, FormatContext& ctx) const { - return format_to(ctx.out(), "({}@{}, {}, {})", node.data_type, node.depth, node.value, - node.aggregate_size); - } -}; - TEST_F(BlockDirectoryFixture, Pipeline) { boost::asio::spawn(io, [this] (boost::asio::yield_context yield) { @@ -850,8 +842,6 @@ TEST_F(BlockDirectoryFixture, Pipeline) boost::redis::generic_response resp; conn->async_exec(req, resp, yield[ec]); ASSERT_EQ((bool)ec, false); - //debug only - fmt::print("generic: {}\n", resp.value()); //1st node gives data type and number of elements of that type //if data type is aggrgate, like array, map, then next n elements will be values of the aggregate type -- 2.39.5