diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b82b05fe..afb8d1680 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -86,7 +86,7 @@ include(FetchContent) FetchContent_Declare( fmt GIT_REPOSITORY https://github.com/fmtlib/fmt.git - GIT_TAG 10.0.0 + GIT_TAG 10.1.1 ) FetchContent_Declare( diff --git a/core/include/gnuradio-4.0/annotated.hpp b/core/include/gnuradio-4.0/annotated.hpp index 42f707ea9..773ebab1b 100644 --- a/core/include/gnuradio-4.0/annotated.hpp +++ b/core/include/gnuradio-4.0/annotated.hpp @@ -359,13 +359,13 @@ struct fmt::formatter> { fmt::formatter value_formatter; template - auto + constexpr auto parse(FormatContext &ctx) { return value_formatter.parse(ctx); } template - auto + constexpr auto format(const gr::Annotated &annotated, FormatContext &ctx) { // TODO: add switch for printing only brief and/or meta-information return value_formatter.format(annotated.value, ctx); diff --git a/core/test/qa_Settings.cpp b/core/test/qa_Settings.cpp index 65bca8276..f293fcd85 100644 --- a/core/test/qa_Settings.cpp +++ b/core/test/qa_Settings.cpp @@ -25,13 +25,13 @@ auto boost::ut::cfg = boost::ut::runner struct fmt::formatter> { template - auto + constexpr auto parse(ParseContext &ctx) { return std::begin(ctx); } template - auto + constexpr auto format(const std::complex value, FormatContext &ctx) const { return fmt::format_to(ctx.out(), "({}+{}i)", value.real(), value.imag()); }