From 65ba928a59a668e3a7eaf06da304360a13b9ca92 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 12 Nov 2009 05:10:35 -0500 Subject: Removed unnecessary code --- src/py_journal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/py_journal.cc b/src/py_journal.cc index 51979438..a8dae5f7 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -182,7 +182,7 @@ void export_journal() .def("remove_xact", &journal_t::remove_xact) .def("__len__", xacts_len) - .def("__getitem__", xacts_getitem, return_internal_reference<1>()) + .def("__getitem__", xacts_getitem, return_internal_reference<>()) .def("__iter__", range > (&journal_t::xacts_begin, &journal_t::xacts_end)) -- cgit v1.2.3