From 47af5d5ad36a321f476cc66042a98e3c6db2d2d0 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/return_internal_reference.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/return_internal_reference.hpp b/include/boost/python/return_internal_reference.hpp index 356bc9ed..6140a12f 100644 --- a/include/boost/python/return_internal_reference.hpp +++ b/include/boost/python/return_internal_reference.hpp @@ -9,7 +9,7 @@ # include # include # include -# include +# include namespace boost { namespace python { @@ -30,7 +30,7 @@ struct return_internal_reference private: BOOST_STATIC_CONSTANT(bool, legal = owner_arg > 0); public: - typedef typename mpl::select_type< + typedef typename mpl::select_if< legal , reference_existing_object , detail::return_internal_reference_owner_arg_must_be_greater_than_zero