Revert unintended change

This commit is contained in:
Andrew Resch 2009-01-25 02:17:15 +00:00
parent 5697376caa
commit 24e526ce93

View File

@ -9,7 +9,7 @@ using namespace boost::python;
template<class T1, class T2> template<class T1, class T2>
struct pair_to_tuple struct pair_to_tuple
{ {
static PyObject* convert(const std::pair<int, int>& p) static PyObject* convert(const std::pair<T1, T2>& p)
{ {
return incref(make_tuple(p.first, p.second).ptr()); return incref(make_tuple(p.first, p.second).ptr());
} }