[iter] Remove unneeded &&

Next commit needs this.  I never fully get this, sigh.
This commit is contained in:
Behdad Esfahbod 2019-03-29 21:14:20 -07:00
parent 12a4c0441f
commit 8e34cb251a
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ struct hb_map_iter_t :
hb_iter_t<hb_map_iter_t<Iter, Proj>,
decltype (hb_declval (Proj) (hb_declval (typename Iter::item_t)))>
{
hb_map_iter_t (const Iter& it, Proj&& f) : it (it), f (f) {}
hb_map_iter_t (const Iter& it, Proj f) : it (it), f (f) {}
typedef decltype (hb_declval (Proj) (hb_declval (typename Iter::item_t))) __item_t__;
static constexpr bool is_random_access_iterator = Iter::is_random_access_iterator;