summaryrefslogtreecommitdiff
path: root/src/py_item.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_item.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_item.cc')
-rw-r--r--src/py_item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_item.cc b/src/py_item.cc
index 0e95f24f..e37228fe 100644
--- a/src/py_item.cc
+++ b/src/py_item.cc
@@ -106,7 +106,7 @@ void export_item()
#if 0
class_< item_t, bases<scope_t> > ("JournalItem", init<uint_least8_t>())
#else
- class_< item_t > ("JournalItem", init<uint_least8_t>())
+ class_< item_t, noncopyable > ("JournalItem", no_init)
#endif
#if 1
.add_property("flags", &supports_flags<>::flags,