From e70ccbe9edd4d5e033df4afa728b3593ba9f78af Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 29 Mar 2019 21:45:49 -0700 Subject: [PATCH] Fix pair signature Oh well. Again, who does fully understand what is right??? --- src/hb-algs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-algs.hh b/src/hb-algs.hh index 469fe3dd1..3eb01d8be 100644 --- a/src/hb-algs.hh +++ b/src/hb-algs.hh @@ -67,7 +67,7 @@ struct hb_pair_t typedef T2 second_t; typedef hb_pair_t pair_t; - hb_pair_t (const T1& a, const T2& b) : first (a), second (b) {} + hb_pair_t (T1 a, T2 b) : first (a), second (b) {} hb_pair_t (const pair_t& o) : first (o.first), second (o.second) {} bool operator == (const pair_t& o) const { return first == o.first && second == o.second; }