summaryrefslogtreecommitdiff
path: root/src/py_xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-06 15:35:16 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-06 15:35:16 -0500
commitf03d386013f220e5b88a056c514c20319c83e9e7 (patch)
tree107234c2ca0947fac84be819611ff5c0c610dac6 /src/py_xact.cc
parent312d4c5f5339c61253e86cd9ce825370eb4be053 (diff)
parent205639669981f1ab9dc355d07c60c123c4da0ca0 (diff)
downloadfork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.tar.gz
fork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.tar.bz2
fork-ledger-f03d386013f220e5b88a056c514c20319c83e9e7.zip
Merge branch 'next'
Diffstat (limited to 'src/py_xact.cc')
-rw-r--r--src/py_xact.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_xact.cc b/src/py_xact.cc
index f5453d15..d886bf90 100644
--- a/src/py_xact.cc
+++ b/src/py_xact.cc
@@ -91,7 +91,7 @@ void export_xact()
.def("__len__", posts_len)
.def("__getitem__", posts_getitem,
- return_value_policy<reference_existing_object>())
+ return_internal_reference<>())
.def("add_post", &xact_base_t::add_post, with_custodian_and_ward<1, 2>())
.def("remove_post", &xact_base_t::add_post)