From 97acbddb65f3f6a90651263b158f4b97efedfc09 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/reference_existing_object.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/reference_existing_object.hpp b/include/boost/python/reference_existing_object.hpp index 1f8a43d8..9529933b 100644 --- a/include/boost/python/reference_existing_object.hpp +++ b/include/boost/python/reference_existing_object.hpp @@ -6,7 +6,7 @@ #ifndef REFERENCE_EXISTING_OBJECT_DWA200222_HPP # define REFERENCE_EXISTING_OBJECT_DWA200222_HPP # include -# include +# include # include # include @@ -32,7 +32,7 @@ struct reference_existing_object BOOST_STATIC_CONSTANT( bool, ok = is_pointer::value || is_reference::value); - typedef typename mpl::select_type< + typedef typename mpl::select_if< ok , to_python_indirect , detail::reference_existing_object_requires_a_pointer_or_reference_return_type