[iter] Remove more wrong &&'s

Sigh...
This commit is contained in:
Behdad Esfahbod 2019-03-29 22:48:12 -07:00
parent 05f2130a1c
commit d51452500f
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ struct hb_filter_iter_t :
hb_iter_with_fallback_t<hb_filter_iter_t<Iter, Pred, Proj>,
typename Iter::item_t>
{
hb_filter_iter_t (const Iter& it_, Pred&& p, Proj&& f) : it (it_), p (p), f (f)
hb_filter_iter_t (const Iter& it_, Pred p, Proj f) : it (it_), p (p), f (f)
{ while (it && !p (f (*it))) ++it; }
typedef typename Iter::item_t __item_t__;