diff options
Diffstat (limited to 'boost/intrusive/detail/default_header_holder.hpp')
-rw-r--r-- | boost/intrusive/detail/default_header_holder.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/intrusive/detail/default_header_holder.hpp b/boost/intrusive/detail/default_header_holder.hpp index 288f8a0e41..ba561b5f5b 100644 --- a/boost/intrusive/detail/default_header_holder.hpp +++ b/boost/intrusive/detail/default_header_holder.hpp @@ -23,7 +23,7 @@ #include <boost/intrusive/detail/workaround.hpp> #include <boost/intrusive/pointer_traits.hpp> -#include <boost/intrusive/detail/to_raw_pointer.hpp> +#include <boost/move/detail/to_raw_pointer.hpp> namespace boost { namespace intrusive { @@ -48,7 +48,7 @@ struct default_header_holder : public NodeTraits::node // (unsafe) downcast used to implement container-from-iterator BOOST_INTRUSIVE_FORCEINLINE static default_header_holder* get_holder(const node_ptr &p) - { return static_cast< default_header_holder* >(boost::intrusive::detail::to_raw_pointer(p)); } + { return static_cast< default_header_holder* >(boost::movelib::to_raw_pointer(p)); } }; // type function producing the header node holder |