diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2016-01-02 12:14:31 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2016-01-02 12:14:31 +0100 |
commit | 11590e134eafa768ccc4a171cc7fb216e906095f (patch) | |
tree | b5c88b4d4931ccb62642e2ad3822f32ffd1e2893 /src/py_journal.cc | |
parent | 9892878ca1b1218877537963bbf7a4ea1a8fed45 (diff) | |
download | fork-ledger-11590e134eafa768ccc4a171cc7fb216e906095f.tar.gz fork-ledger-11590e134eafa768ccc4a171cc7fb216e906095f.tar.bz2 fork-ledger-11590e134eafa768ccc4a171cc7fb216e906095f.zip |
[python] Add fix for Boost.Python compile errors
when using boost version 1.60.0.
Diffstat (limited to 'src/py_journal.cc')
-rw-r--r-- | src/py_journal.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/py_journal.cc b/src/py_journal.cc index 879f9548..c1c38a90 100644 --- a/src/py_journal.cc +++ b/src/py_journal.cc @@ -232,6 +232,9 @@ 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) |