From a74329794ccd0c6fea9b4ae9b9c4c47d4c6d302e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 16 Jan 2015 20:53:27 +0200 Subject: [PATCH] Fix ambiguous 'detail' errors under msvc-8.0. --- include/boost/smart_ptr/detail/sp_counted_impl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/smart_ptr/detail/sp_counted_impl.hpp b/include/boost/smart_ptr/detail/sp_counted_impl.hpp index a7b43ae..1222f3c 100644 --- a/include/boost/smart_ptr/detail/sp_counted_impl.hpp +++ b/include/boost/smart_ptr/detail/sp_counted_impl.hpp @@ -78,7 +78,7 @@ public: boost::checked_delete( px_ ); } - virtual void * get_deleter( detail::sp_typeinfo const & ) + virtual void * get_deleter( sp_typeinfo const & ) { return 0; } @@ -153,7 +153,7 @@ public: del( ptr ); } - virtual void * get_deleter( detail::sp_typeinfo const & ti ) + virtual void * get_deleter( sp_typeinfo const & ti ) { return ti == BOOST_SP_TYPEID(D)? &reinterpret_cast( del ): 0; } @@ -249,7 +249,7 @@ public: a2.deallocate( this, 1 ); } - virtual void * get_deleter( detail::sp_typeinfo const & ti ) + virtual void * get_deleter( sp_typeinfo const & ti ) { return ti == BOOST_SP_TYPEID( D )? &reinterpret_cast( d_ ): 0; }