diff --git a/include/boost/python/converter/from_python.hpp b/include/boost/python/converter/from_python.hpp index 1c6a8b3c..3fff2d18 100644 --- a/include/boost/python/converter/from_python.hpp +++ b/include/boost/python/converter/from_python.hpp @@ -11,7 +11,7 @@ # include # include # include -# include +# include # include # include # include @@ -100,13 +100,13 @@ struct select_from_python boost::python::detail::is_reference_to_non_const::value || boost::python::detail::is_reference_to_volatile::value); - typedef typename mpl::select_type< + typedef typename mpl::select_if_c< ptr , pointer_from_python - , typename mpl::select_type< + , typename mpl::select_if_c< ptr_cref , pointer_const_reference_from_python - , typename mpl::select_type< + , typename mpl::select_if_c< ref , reference_from_python , rvalue_from_python