From c3d05245fef17ce2c0b4db083d30879e1a96e84a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 16 Mar 2018 16:26:11 -0400 Subject: [PATCH] Fix a shadowing warning --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 6aa26660..7c16a244 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -854,7 +854,7 @@ template inline Container &get_container(std::back_insert_iterator it) { typedef std::back_insert_iterator bi_iterator; struct accessor: bi_iterator { - accessor(bi_iterator it) : bi_iterator(it) {} + accessor(bi_iterator iter) : bi_iterator(iter) {} using bi_iterator::container; }; return *accessor(it).container;