summaryrefslogtreecommitdiff
path: root/boost/python/default_call_policies.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/default_call_policies.hpp')
-rw-r--r--boost/python/default_call_policies.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/boost/python/default_call_policies.hpp b/boost/python/default_call_policies.hpp
index fcc242a924..c882257348 100644
--- a/boost/python/default_call_policies.hpp
+++ b/boost/python/default_call_policies.hpp
@@ -8,10 +8,8 @@
# include <boost/python/detail/prefix.hpp>
# include <boost/mpl/if.hpp>
# include <boost/python/to_python_value.hpp>
+# include <boost/python/detail/type_traits.hpp>
# include <boost/python/detail/value_arg.hpp>
-# include <boost/type_traits/transform_traits.hpp>
-# include <boost/type_traits/is_pointer.hpp>
-# include <boost/type_traits/is_reference.hpp>
# include <boost/mpl/or.hpp>
# include <boost/mpl/front.hpp>
@@ -64,7 +62,7 @@ struct default_result_converter
struct apply
{
typedef typename mpl::if_<
- mpl::or_<is_pointer<R>, is_reference<R> >
+ mpl::or_<detail::is_pointer<R>, detail::is_reference<R> >
, detail::specify_a_return_value_policy_to_wrap_functions_returning<R>
, boost::python::to_python_value<
typename detail::value_arg<R>::type