Signed-off-by: Matan Breizman <mbreizma@redhat.com>
template <>
struct formatter<test_hobject_fmt_t> {
- auto parse(format_parse_context& ctx) { return ctx.begin(); }
+ constexpr auto parse(format_parse_context& ctx) { return ctx.begin(); }
template <typename FormatContext>
- auto format(const test_hobject_fmt_t& ho, FormatContext& ctx)
+ auto format(const test_hobject_fmt_t& ho, FormatContext& ctx) const
{
if (ho == hobject_t{}) {
return fmt::format_to(ctx.out(), "MIN");
#include "common/ceph_argparse.h"
#include <fmt/os.h>
+#include <fmt/std.h>
#include <seastar/core/app-template.hh>
#include <seastar/core/gate.hh>
#include <seastar/core/sharded.hh>
#include <iostream>
#include <memory>
#include <set>
+#include <fmt/ranges.h>
#include "common/ceph_argparse.h"
#include "common/common_init.h"