summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-12 05:10:35 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-12 05:11:09 -0500
commit65ba928a59a668e3a7eaf06da304360a13b9ca92 (patch)
tree03327777e53d42f422e8f43613dda4234b9f4bcc /src/py_journal.cc
parentf217e50ab69b72f4c490d1a578617af637ffb4d6 (diff)
downloadfork-ledger-65ba928a59a668e3a7eaf06da304360a13b9ca92.tar.gz
fork-ledger-65ba928a59a668e3a7eaf06da304360a13b9ca92.tar.bz2
fork-ledger-65ba928a59a668e3a7eaf06da304360a13b9ca92.zip
Removed unnecessary code
Diffstat (limited to 'src/py_journal.cc')
-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))