From f22483ce7249c41263d72909ada89b18faa2932c Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Fri, 1 Oct 2021 15:07:41 +0100 Subject: [PATCH] sched,nr: use formatting %d to represent slot index --- lib/include/srsran/common/slot_point.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/srsran/common/slot_point.h b/lib/include/srsran/common/slot_point.h index 3ab3f5348..eea18b94b 100644 --- a/lib/include/srsran/common/slot_point.h +++ b/lib/include/srsran/common/slot_point.h @@ -157,7 +157,7 @@ struct formatter { template auto format(srsran::slot_point slot, FormatContext& ctx) -> decltype(std::declval().out()) { - return format_to(ctx.out(), "{}:{}", slot.sfn(), slot.slot_idx()); + return format_to(ctx.out(), "{}", slot.to_uint()); } }; } // namespace fmt