diff --git a/include/boost/intrusive/hashtable.hpp b/include/boost/intrusive/hashtable.hpp index 3baa465..11c81d7 100644 --- a/include/boost/intrusive/hashtable.hpp +++ b/include/boost/intrusive/hashtable.hpp @@ -591,7 +591,7 @@ inline typename pointer_traits::template rebind_pointer::typ dcast_bucket_ptr(const SlistNodePtr &p) { typedef typename pointer_traits::template rebind_pointer::type node_ptr; - return pointer_traits::pointer_to(static_cast(*p)); + return pointer_traits::static_cast_from(p); } template