diff --git a/src/hb-iter.hh b/src/hb-iter.hh index c275b94a14f64f22588ffab2e4a54f13a3934cb5..4bee8ca37c9f4db987634d1cd086279ba7f30966 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -272,11 +272,11 @@ struct hb_map_iter_factory_t { hb_map_iter_factory_t (Proj&& f) : f (f) {} - template - hb_map_iter_t - operator () (const Iterable &c) const - { return hb_map_iter_t (c.iter (), f); } + template + hb_map_iter_t + operator () (Iter it) const + { return hb_map_iter_t (it, f); } private: Proj f;