From 0a52742008090787024003d6e523e8ac37a0bb10 Mon Sep 17 00:00:00 2001 From: Kenneth Weiss Date: Fri, 30 Dec 2022 16:37:11 -0800 Subject: [PATCH] Bugfix for fmt::printf on Power9 architecture with the XL compiler --- include/fmt/format.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index 8f05c7d9..e7840948 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3583,6 +3583,10 @@ template struct arg_formatter { const format_specs& specs; locale_ref locale; + arg_formatter(buffer_appender it, const format_specs& s, + locale_ref l) + : out{it}, specs{s}, locale{l} {} + template FMT_CONSTEXPR FMT_INLINE auto operator()(T value) -> iterator { return detail::write(out, value, specs, locale);