diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2016-06-22 15:43:37 +0200 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2016-06-22 15:43:37 +0200 |
commit | 01220484f428a447e9b00e071a0d85185f30e1de (patch) | |
tree | cf9b9492aa708d890700f2bbe05fe417e9bded3f /src | |
parent | 059905f709e3f16002da41828de9924700c1e258 (diff) | |
download | fork-ledger-01220484f428a447e9b00e071a0d85185f30e1de.tar.gz fork-ledger-01220484f428a447e9b00e071a0d85185f30e1de.tar.bz2 fork-ledger-01220484f428a447e9b00e071a0d85185f30e1de.zip |
Revert "[python] Add fix for Boost.Python compile errors"
This reverts commit 11590e134eafa768ccc4a171cc7fb216e906095f.
Diffstat (limited to 'src')
-rw-r--r-- | src/py_commodity.cc | 3 | ||||
-rw-r--r-- | src/py_journal.cc | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/src/py_commodity.cc b/src/py_commodity.cc index 5aafa6ce..c457e64d 100644 --- a/src/py_commodity.cc +++ b/src/py_commodity.cc @@ -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", diff --git a/src/py_journal.cc b/src/py_journal.cc index c1c38a90..879f9548 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -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) |