diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 4bee8ca37..da11d367f 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -312,11 +312,11 @@ struct hb_filter_iter_factory_t { hb_filter_iter_factory_t (Pred&& p, Proj&& f) : p (p), f (f) {} - template - hb_filter_iter_t - operator () (const Iterable &c) const - { return hb_filter_iter_t (c.iter (), p, f); } + template + hb_filter_iter_t + operator () (Iter it) const + { return hb_filter_iter_t (it, p, f); } private: Pred p;