From e6604239cf8141db27c58ae3cff71ccb2b30f643 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 16 Apr 2002 14:29:30 +0000 Subject: [PATCH] Changes for MPL v2 [SVN r13504] --- include/boost/python/converter/from_python.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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