mirror of https://github.com/aria2/aria2
Removed unnecessary template parameter from std::make_pair call.
The patch was contributed from Dan Fandrich.pull/1/head
parent
51dc544f2b
commit
533cdfa850
|
@ -141,9 +141,7 @@ public:
|
||||||
typename TupleNthType<Tuple, N2>::type>
|
typename TupleNthType<Tuple, N2>::type>
|
||||||
operator()(const Tuple& tri) const
|
operator()(const Tuple& tri) const
|
||||||
{
|
{
|
||||||
return std::make_pair<typename TupleNthType<Tuple, N1>::type,
|
return std::make_pair(TupleGet<N1>::get(tri), TupleGet<N2>::get(tri));
|
||||||
typename TupleNthType<Tuple, N2>::type>
|
|
||||||
(TupleGet<N1>::get(tri), TupleGet<N2>::get(tri));
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue