From 5f5b955582225376b1cdb3288472a2651fb0a2f1 Mon Sep 17 00:00:00 2001 From: Kenneth Weiss Date: Tue, 3 Jan 2023 12:34:00 -0800 Subject: [PATCH] Don't pass locale_ref into arg_formatter constructor in printf_arg_formatter --- include/fmt/printf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/printf.h b/include/fmt/printf.h index f091cc8039a8d..8fbec12ad62c3 100644 --- a/include/fmt/printf.h +++ b/include/fmt/printf.h @@ -235,7 +235,7 @@ class printf_arg_formatter : public arg_formatter { public: printf_arg_formatter(OutputIt iter, format_specs& s, context_type& ctx) - : base{iter, s, locale_ref()}, context_(ctx) {} + : base{iter, s}, context_(ctx) {} OutputIt operator()(monostate value) { return base::operator()(value); }