diff --git a/src/hb-iter.hh b/src/hb-iter.hh index 9f912b912..2c885d676 100644 --- a/src/hb-iter.hh +++ b/src/hb-iter.hh @@ -270,7 +270,7 @@ struct hb_map_iter_t : template struct hb_map_iter_factory_t { - hb_map_iter_factory_t (Proj&& f) : f (f) {} + hb_map_iter_factory_t (Proj f) : f (f) {} template @@ -310,7 +310,7 @@ struct hb_filter_iter_t : template struct hb_filter_iter_factory_t { - hb_filter_iter_factory_t (Pred&& p, Proj&& f) : p (p), f (f) {} + hb_filter_iter_factory_t (Pred p, Proj f) : p (p), f (f) {} template @@ -375,7 +375,7 @@ static const struct template struct hb_apply_t { - hb_apply_t (Appl&& a) : a (a) {} + hb_apply_t (Appl a) : a (a) {} template