From 3bec708e384290b714b3f5735904927f4755e39a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 14 Nov 2009 06:11:45 -0500 Subject: Fixed an internal reference issue with Python --- src/py_post.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/py_post.cc') diff --git a/src/py_post.cc b/src/py_post.cc index 8aabea28..20cdba6b 100644 --- a/src/py_post.cc +++ b/src/py_post.cc @@ -116,7 +116,7 @@ void export_post() make_setter(&post_t::xdata_t::datetime)) .add_property("account", make_getter(&post_t::xdata_t::account, - return_internal_reference<>()), + return_value_policy()), make_setter(&post_t::xdata_t::account, with_custodian_and_ward<1, 2>())) .add_property("sort_values", -- cgit v1.2.3