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;