From 412a6581885da38a8fe267357f3dc3e412afc7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20W=C3=BChrer?= Date: Wed, 12 Aug 2020 18:09:14 +0200 Subject: [PATCH] include/fmt/format.h: int_writer: removed unnecessary iterator type re-declaration (prevents shadow-waringing in clang) --- include/fmt/format.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index efe090d0be9c..8a9611224d1e 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -1630,7 +1630,6 @@ template struct int_writer { make_checked(p, s.size())); } if (prefix_size != 0) p[-1] = static_cast('-'); - using iterator = remove_reference_t; auto data = buffer.data(); out = write_padded(out, specs, size, size, [=](iterator it) { return copy_str(data, data + size, it);