summaryrefslogtreecommitdiff
path: root/boost/python/pointee.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/python/pointee.hpp')
-rw-r--r--boost/python/pointee.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/boost/python/pointee.hpp b/boost/python/pointee.hpp
index ab8bb87439..7ec01e0824 100644
--- a/boost/python/pointee.hpp
+++ b/boost/python/pointee.hpp
@@ -6,9 +6,7 @@
# define POINTEE_DWA2002323_HPP
# include <boost/python/detail/prefix.hpp>
-
-# include <boost/type_traits/object_traits.hpp>
-# include <boost/type_traits/remove_pointer.hpp>
+# include <boost/python/detail/type_traits.hpp>
namespace boost { namespace python {
@@ -17,7 +15,7 @@ namespace detail
template <bool is_ptr = true>
struct pointee_impl
{
- template <class T> struct apply : remove_pointer<T> {};
+ template <class T> struct apply : detail::remove_pointer<T> {};
};
template <>
@@ -33,11 +31,11 @@ namespace detail
template <class T>
struct pointee
: detail::pointee_impl<
- ::boost::is_pointer<T>::value
+ detail::is_pointer<T>::value
>::template apply<T>
{
};
-}} // namespace boost::python::detail
+}} // namespace boost::python
#endif // POINTEE_DWA2002323_HPP