diff --git a/include/fmt/format.h b/include/fmt/format.h index 1a192cca..1e2d7d6c 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3222,9 +3222,9 @@ template <> struct formatter { specs_.precision, specs_.precision_ref, ctx); using range_type = internal::output_range; - internal::basic_writer writer(range_type(ctx.out())); - writer.write_bytes(b.data_, specs_); - return writer.out(); + internal::basic_writer w(range_type(ctx.out())); + w.write_bytes(b.data_, specs_); + return w.out(); } private: