From 4c1067bcf68b848041e0fcc41d512ef35a0fa0af Mon Sep 17 00:00:00 2001 From: Francisco Date: Tue, 9 Mar 2021 11:29:40 +0000 Subject: [PATCH] bitset - fix compilation issue for centos7 --- lib/include/srslte/adt/bounded_bitset.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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