diff --git a/src/hb-iter.hh b/src/hb-iter.hh index c275b94a1..4bee8ca37 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;