From d9c7166cf039a615482bc8fbb3fb437b3459ca2a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 29 May 2022 20:31:15 -0700 Subject: [PATCH] bi_iterator -> base --- include/fmt/core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 906e322f..e36bbe3a 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -682,10 +682,10 @@ constexpr auto has_const_formatter() -> bool { template inline auto get_container(std::back_insert_iterator it) -> Container& { - using bi_iterator = std::back_insert_iterator; - struct accessor : bi_iterator { - accessor(bi_iterator iter) : bi_iterator(iter) {} - using bi_iterator::container; + using base = std::back_insert_iterator; + struct accessor : base { + accessor(base b) : base(b) {} + using base::container; }; return *accessor(it).container; }