[iter] Remove unneeded &&
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 30 Mar 2019 04:14:20 +0000 (21:14 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 30 Mar 2019 04:14:20 +0000 (21:14 -0700)
Next commit needs this.  I never fully get this, sigh.

src/hb-iter.hh

index d596334..c3dac6d 100644 (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;