Fix pair signature
Oh well. Again, who does fully understand what is right???
This commit is contained in:
parent
6237b47f0c
commit
e70ccbe9ed
|
@ -67,7 +67,7 @@ struct hb_pair_t
|
|||
typedef T2 second_t;
|
||||
typedef hb_pair_t<T1, T2> 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; }
|
||||
|
|
Loading…
Reference in New Issue