summaryrefslogtreecommitdiff
path: root/src/py_xact.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-07-29 03:36:54 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-07-29 03:36:54 -0400
commit9edf413d9d202602815ad6bf6a5b92318b2e99fa (patch)
treef90b9d4ceacdaba33f437dd40526e503c9f0ee2e /src/py_xact.cc
parent58b5973c8e9dc68202700e839f048742fdd62a00 (diff)
downloadfork-ledger-9edf413d9d202602815ad6bf6a5b92318b2e99fa.tar.gz
fork-ledger-9edf413d9d202602815ad6bf6a5b92318b2e99fa.tar.bz2
fork-ledger-9edf413d9d202602815ad6bf6a5b92318b2e99fa.zip
Boost.Python fixes now that item_t is abstract
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 5ab0d90d..b7582854 100644
--- a/src/py_xact.cc
+++ b/src/py_xact.cc
@@ -82,7 +82,7 @@ using namespace boost::python;
void export_xact()
{
- class_< xact_base_t, bases<item_t> > ("TransactionBase")
+ class_< xact_base_t, bases<item_t>, noncopyable > ("TransactionBase", no_init)
.add_property("journal",
make_getter(&xact_base_t::journal,
return_internal_reference<>()),