[iter] Implement operator-> unconditionally
The right condition to check for would have been "is_struct", which we don't have.
This commit is contained in:
parent
8f52a827e7
commit
15a6928436
|
@ -73,7 +73,6 @@ struct hb_iter_t
|
|||
iter_t iter () const { return *thiz(); }
|
||||
explicit_operator bool () const { return thiz()->__more__ (); }
|
||||
unsigned len () const { return thiz()->__len__ (); }
|
||||
template <typename U = item_t, hb_enable_if (hb_is_reference (U))>
|
||||
hb_remove_reference (item_t)* operator -> () const { return hb_addressof (**thiz()); }
|
||||
item_t operator * () const { return thiz()->__item__ (); }
|
||||
item_t operator [] (unsigned i) const { return thiz()->__item_at__ (i); }
|
||||
|
|
Loading…
Reference in New Issue