From 11590e134eafa768ccc4a171cc7fb216e906095f Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sat, 2 Jan 2016 12:14:31 +0100 Subject: [python] Add fix for Boost.Python compile errors when using boost version 1.60.0. --- src/py_journal.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/py_journal.cc') 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 >(); +#endif class_< collector_wrapper, shared_ptr, boost::noncopyable >("PostCollectorWrapper", no_init) .def("__len__", &collector_wrapper::length) -- cgit v1.2.3