diff --git a/src/test-iter.cc b/src/test-iter.cc index f54bf0ae3..73af4e4c2 100644 --- a/src/test-iter.cc +++ b/src/test-iter.cc @@ -60,10 +60,10 @@ struct some_array_t }; -template inline void -hb_fill (hb_iter_t &i, const V &v) +template inline void +hb_fill (const C& c, const V &v) { - for (; i; i++) + for (typename C::iter_t i (c); i; i++) hb_assign (*i, v); }