File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -201,10 +201,10 @@ namespace fmt {
201201template <>
202202struct formatter <test_hobject_fmt_t > {
203203
204- auto parse (format_parse_context& ctx) { return ctx.begin (); }
204+ constexpr auto parse (format_parse_context& ctx) { return ctx.begin (); }
205205
206206 template <typename FormatContext>
207- auto format (const test_hobject_fmt_t & ho, FormatContext& ctx)
207+ auto format (const test_hobject_fmt_t & ho, FormatContext& ctx) const
208208 {
209209 if (ho == hobject_t {}) {
210210 return fmt::format_to (ctx.out (), " MIN" );
Original file line number Diff line number Diff line change 33
44#include " common/ceph_argparse.h"
55#include < fmt/os.h>
6+ #include < fmt/std.h>
67#include < seastar/core/app-template.hh>
78#include < seastar/core/gate.hh>
89#include < seastar/core/sharded.hh>
Original file line number Diff line number Diff line change 1212#include < iostream>
1313#include < memory>
1414#include < set>
15+ #include < fmt/ranges.h>
1516
1617#include " common/ceph_argparse.h"
1718#include " common/common_init.h"
You can’t perform that action at this time.
0 commit comments