include/fmt/format.h: int_writer: removed unnecessary iterator type re-declaration (prevents shadow-waringing in clang)
This commit is contained in:
parent
4b69c78751
commit
412a658188
@ -1630,7 +1630,6 @@ template <typename OutputIt, typename Char, typename UInt> struct int_writer {
|
||||
make_checked(p, s.size()));
|
||||
}
|
||||
if (prefix_size != 0) p[-1] = static_cast<Char>('-');
|
||||
using iterator = remove_reference_t<decltype(reserve(out, 0))>;
|
||||
auto data = buffer.data();
|
||||
out = write_padded<align::right>(out, specs, size, size, [=](iterator it) {
|
||||
return copy_str<Char>(data, data + size, it);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user