diff --git a/include/boost/shared_ptr.hpp b/include/boost/shared_ptr.hpp index 88fab8f..1aa6ecc 100644 --- a/include/boost/shared_ptr.hpp +++ b/include/boost/shared_ptr.hpp @@ -228,8 +228,7 @@ public: { } - template - shared_ptr(detail::shared_count const & c, Y * p): px(p), pn(c) // never throws + shared_ptr(detail::shared_count const & c, T * p): px(p), pn(c) // never throws { } @@ -346,8 +345,7 @@ public: r.px = 0; } - template - shared_ptr(detail::shared_count && c, Y * p): px(p), pn( static_cast< detail::shared_count && >( c ) ) // never throws + shared_ptr(detail::shared_count && c, T * p): px(p), pn( static_cast< detail::shared_count && >( c ) ) // never throws { }