Skip to content

Commit

Permalink
Remove constructors for arg_formatter struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyweiss committed Jan 9, 2023
1 parent cb7ff15 commit 5142af8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -3583,13 +3583,6 @@ template <typename Char> struct arg_formatter {
const format_specs<Char>* specs;
locale_ref locale;

arg_formatter(buffer_appender<Char> it, const format_specs<Char>* s)
: out(it), specs(s) {}

arg_formatter(buffer_appender<Char> it, const format_specs<Char>* s,
locale_ref l)
: out(it), specs(s), locale(l) {}

template <typename T>
FMT_CONSTEXPR FMT_INLINE auto operator()(T value) -> iterator {
return detail::write(out, value, *specs, locale);
Expand Down

0 comments on commit 5142af8

Please sign in to comment.