sched,nr: use formatting %d to represent slot index

master
Francisco Paisana 3 years ago
parent 8ceb573ea7
commit f22483ce72

@ -157,7 +157,7 @@ struct formatter<srsran::slot_point> {
template <typename FormatContext> template <typename FormatContext>
auto format(srsran::slot_point slot, FormatContext& ctx) -> decltype(std::declval<FormatContext>().out()) auto format(srsran::slot_point slot, FormatContext& ctx) -> decltype(std::declval<FormatContext>().out())
{ {
return format_to(ctx.out(), "{}:{}", slot.sfn(), slot.slot_idx()); return format_to(ctx.out(), "{}", slot.to_uint());
} }
}; };
} // namespace fmt } // namespace fmt

Loading…
Cancel
Save