diff --git a/lib/include/srslte/adt/bounded_bitset.h b/lib/include/srslte/adt/bounded_bitset.h index f691c0819..bef2fa36f 100644 --- a/lib/include/srslte/adt/bounded_bitset.h +++ b/lib/include/srslte/adt/bounded_bitset.h @@ -352,9 +352,10 @@ inline bounded_bitset fliplr(const bounded_bitset& oth } // namespace srslte +namespace fmt { /// Custom formatter for bounded_bitset template -struct fmt::formatter > { +struct formatter > { enum { hexadecimal, binary } mode = binary; template @@ -381,5 +382,6 @@ struct fmt::formatter > { return s.template to_string(ctx.out()); } }; +} // namespace fmt #endif // SRSLTE_DYN_BITSET_H