diff --git a/include/boost/intrusive_ptr.hpp b/include/boost/intrusive_ptr.hpp index 26c57b1..5d03548 100644 --- a/include/boost/intrusive_ptr.hpp +++ b/include/boost/intrusive_ptr.hpp @@ -143,12 +143,12 @@ template void swap(intrusive_ptr & lhs, intrusive_ptr & rhs) lhs.swap(rhs); } -template intrusive_ptr shared_dynamic_cast(intrusive_ptr const & p) +template intrusive_ptr dynamic_pointer_cast(intrusive_ptr const & p) { return dynamic_cast(p.get()); } -template intrusive_ptr shared_static_cast(intrusive_ptr const & p) +template intrusive_ptr static_pointer_cast(intrusive_ptr const & p) { return static_cast(p.get()); }