diff options
Diffstat (limited to 'boost/python/manage_new_object.hpp')
-rw-r--r-- | boost/python/manage_new_object.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/python/manage_new_object.hpp b/boost/python/manage_new_object.hpp index 9585b13a6f..9ff341c1ac 100644 --- a/boost/python/manage_new_object.hpp +++ b/boost/python/manage_new_object.hpp @@ -7,9 +7,9 @@ # include <boost/python/detail/prefix.hpp> # include <boost/python/detail/indirect_traits.hpp> +# include <boost/python/detail/type_traits.hpp> # include <boost/mpl/if.hpp> # include <boost/python/to_python_indirect.hpp> -# include <boost/type_traits/composite_traits.hpp> namespace boost { namespace python { @@ -29,7 +29,7 @@ struct manage_new_object struct apply { typedef typename mpl::if_c< - boost::is_pointer<T>::value + detail::is_pointer<T>::value , to_python_indirect<T, detail::make_owning_holder> , detail::manage_new_object_requires_a_pointer_return_type<T> >::type type; |