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; }