Update format.h

This commit is contained in:
moiwi 2021-03-12 11:21:01 +01:00
parent d08fd870e7
commit 6276f1d465

View File

@ -1627,7 +1627,7 @@ FMT_CONSTEXPR OutputIt write_padded(OutputIt out,
auto it = reserve(out, size + padding * specs.fill.size());
if (left_padding != 0) it = fill(it, left_padding, specs.fill);
it = f(it);
if (right_padding != 0) it = fill(it, padding - left_padding, specs.fill);
if (right_padding != 0) it = fill(it, right_padding, specs.fill);
return base_iterator(out, it);
}