summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/py_journal.cc2
1 files changed, 1 insertions, 1 deletions
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<return_internal_reference<> >
(&journal_t::xacts_begin, &journal_t::xacts_end))