diff --git a/include/boost/python/object/select_holder.hpp b/include/boost/python/object/select_holder.hpp index 72446358..0bdeee00 100644 --- a/include/boost/python/object/select_holder.hpp +++ b/include/boost/python/object/select_holder.hpp @@ -13,7 +13,7 @@ # include # include # include -# include +# include namespace boost { namespace python { namespace objects { @@ -24,7 +24,7 @@ namespace detail { BOOST_STATIC_CONSTANT(bool, selector = (!is_same::value) | has_back_reference::value); - typedef typename mpl::select_type< + typedef typename mpl::select_if_c< selector , value_holder_back_reference , value_holder @@ -39,7 +39,7 @@ namespace detail typedef typename python::detail::pointee::type pointee; BOOST_STATIC_CONSTANT(bool, selector = (!is_same::value) | has_back_reference::value); - typedef typename mpl::select_type< + typedef typename mpl::select_if_c< selector , pointer_holder_back_reference , pointer_holder