From af34432774d7af4d69e30ae68d1724db9aedd510 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 dda93305ded07..b90c4dd7da66e 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); }