diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 60186d0cd..72dec06d9 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -202,11 +202,11 @@ struct hb_is_iterator_of { enum { /* hb_zip() */ template -struct hb_zip_t : - hb_iter_t, hb_pair_t > +struct hb_zip_iter_t : + hb_iter_t, hb_pair_t > { - hb_zip_t () {} - hb_zip_t (A a, B b) : a (a), b (b) {} + hb_zip_iter_t () {} + hb_zip_iter_t (A a, B b) : a (a), b (b) {} typedef hb_pair_t __item_t__; enum { is_random_access_iterator = @@ -231,9 +231,9 @@ struct hb_zip_t : template -inline hb_zip_t +inline hb_zip_iter_t hb_zip (A& a, B &b) -{ return hb_zip_t (a.iter (), b.iter ()); } +{ return hb_zip_iter_t (a.iter (), b.iter ()); } /*