diff options
Diffstat (limited to 'boost/python/to_python_value.hpp')
-rw-r--r-- | boost/python/to_python_value.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/python/to_python_value.hpp b/boost/python/to_python_value.hpp index 2066d3a2ab..b6ec0135ba 100644 --- a/boost/python/to_python_value.hpp +++ b/boost/python/to_python_value.hpp @@ -118,7 +118,7 @@ struct object_manager_get_pytype<true> PyTypeObject const* get_pytype(boost::type<shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target_type();} template <class U> PyTypeObject const* get_pytype(boost::type<const shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target_type();} -# if __cplusplus >= 201103L +# if !defined(BOOST_NO_CXX11_SMART_PTR) template <class U> PyTypeObject const* get_pytype(boost::type<std::shared_ptr<U> &> *) const {return converter::registered<U>::converters.to_python_target_type();} template <class U> |