From 0670e1a6f5d9938d30d5d0674ea10752d4a58114 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 14 Feb 2019 11:53:40 -0800 Subject: [PATCH] [iter] Remove excess use of universal references Every time I have to study these to understand why a change is right.. --- src/hb-iter.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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