Revert "[python] Add fix for Boost.Python compile errors"
This reverts commit 11590e134e.
This commit is contained in:
parent
059905f709
commit
01220484f4
2 changed files with 0 additions and 6 deletions
|
|
@ -243,9 +243,6 @@ namespace {
|
|||
|
||||
void export_commodity()
|
||||
{
|
||||
#if BOOST_VERSION >= 106000
|
||||
python::register_ptr_to_python< shared_ptr<commodity_pool_t> >();
|
||||
#endif
|
||||
class_< commodity_pool_t, shared_ptr<commodity_pool_t>,
|
||||
boost::noncopyable > ("CommodityPool", no_init)
|
||||
.add_property("null_commodity",
|
||||
|
|
|
|||
|
|
@ -232,9 +232,6 @@ void export_journal()
|
|||
boost::noncopyable >("PostHandler")
|
||||
;
|
||||
|
||||
#if BOOST_VERSION >= 106000
|
||||
python::register_ptr_to_python< shared_ptr<collector_wrapper> >();
|
||||
#endif
|
||||
class_< collector_wrapper, shared_ptr<collector_wrapper>,
|
||||
boost::noncopyable >("PostCollectorWrapper", no_init)
|
||||
.def("__len__", &collector_wrapper::length)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue