summaryrefslogtreecommitdiff
path: root/src/py_journal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r--src/py_journal.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc
index a9789840..9b3e7513 100644
--- a/src/py_journal.cc
+++ b/src/py_journal.cc
@@ -192,15 +192,15 @@ void export_journal()
.def(init<string>())
.add_property("master", make_getter(&journal_t::master,
- return_internal_reference<1>()))
+ return_internal_reference<>()))
.add_property("basket",
make_getter(&journal_t::basket,
- return_internal_reference<1>()),
+ return_internal_reference<>()),
make_setter(&journal_t::basket))
.add_property("was_loaded", make_getter(&journal_t::was_loaded))
.add_property("commodity_pool",
make_getter(&journal_t::commodity_pool,
- return_internal_reference<1>()))
+ return_internal_reference<>()))
#if 0
.add_property("xact_finalize_hooks",
make_getter(&journal_t::xact_finalize_hooks),
@@ -210,10 +210,10 @@ void export_journal()
.def("add_account", &journal_t::add_account)
.def("remove_account", &journal_t::remove_account)
- .def("find_account", py_find_account_1, return_internal_reference<1>())
- .def("find_account", py_find_account_2, return_internal_reference<1>())
+ .def("find_account", py_find_account_1, return_internal_reference<>())
+ .def("find_account", py_find_account_2, return_internal_reference<>())
.def("find_account_re", &journal_t::find_account_re,
- return_internal_reference<1>())
+ return_internal_reference<>())
.def("add_xact", &journal_t::add_xact)
.def("remove_xact", &journal_t::remove_xact)