Skip to content

Commit

Permalink
Don't pass locale_ref into arg_formatter constructor in printf_arg_fo…
Browse files Browse the repository at this point in the history
…rmatter
  • Loading branch information
kennyweiss committed Jan 3, 2023
1 parent 8bfe5f8 commit af34432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/printf.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class printf_arg_formatter : public arg_formatter<Char> {

public:
printf_arg_formatter(OutputIt iter, format_specs<Char>& s, context_type& ctx)
: base{iter, s, locale_ref()}, context_(ctx) {}
: base{iter, s}, context_(ctx) {}

OutputIt operator()(monostate value) { return base::operator()(value); }

Expand Down

0 comments on commit af34432

Please sign in to comment.