mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 09:49:42 +00:00
bi_iterator -> base
This commit is contained in:
parent
11316b29af
commit
d9c7166cf0
@ -682,10 +682,10 @@ constexpr auto has_const_formatter() -> bool {
|
||||
template <typename Container>
|
||||
inline auto get_container(std::back_insert_iterator<Container> it)
|
||||
-> Container& {
|
||||
using bi_iterator = std::back_insert_iterator<Container>;
|
||||
struct accessor : bi_iterator {
|
||||
accessor(bi_iterator iter) : bi_iterator(iter) {}
|
||||
using bi_iterator::container;
|
||||
using base = std::back_insert_iterator<Container>;
|
||||
struct accessor : base {
|
||||
accessor(base b) : base(b) {}
|
||||
using base::container;
|
||||
};
|
||||
return *accessor(it).container;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user