[iter] Make hb_zip() take const references

This commit is contained in:
Behdad Esfahbod 2019-01-09 11:00:32 -08:00
parent ede1a71b31
commit f7fcc47641
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ struct hb_zip_iter_t :
template <typename A, typename B,
hb_enable_if (hb_is_iterable (A) && hb_is_iterable (B))>
inline hb_zip_iter_t<typename A::iter_t, typename B::iter_t>
hb_zip (A& a, B &b)
hb_zip (const A& a, const B &b)
{ return hb_zip_iter_t<typename A::iter_t, typename B::iter_t> (a.iter (), b.iter ()); }