diff --git a/common/string-keyed.h b/common/string-keyed.h index 75dc3e5d..9aea4c9e 100644 --- a/common/string-keyed.h +++ b/common/string-keyed.h @@ -265,7 +265,7 @@ class basic_map_string_kv : public M iterator(base_it b_it) : _b_it(b_it) { } iterator(typename base::const_iterator b_it) { - auto x = (B_IT*) &b_it; + auto x = (base_it*) &b_it; _b_it = *x; } @@ -325,7 +325,6 @@ class basic_map_string_kv : public M { return base::begin(); } - using B_IT = typename base::iterator; const_iterator end() const { return {base::end()}; @@ -437,10 +436,9 @@ class map_string_kv : public basic_map_string_kv> { { return base::upper_bound((const skvm&)k); } - using typename base::B_IT; const_iterator lower_bound (const key_type& k) const { - return {base::lower_bound((const skvm&)k)} + return {base::lower_bound((const skvm&)k)}; } const_iterator upper_bound (const key_type& k) const {