Imported Upstream version 1.64.0
[platform/upstream/boost.git] / boost / smart_ptr / detail / sp_counted_impl.hpp
index 1222f3c..b29769e 100644 (file)
@@ -236,16 +236,8 @@ public:
 
         A2 a2( a_ );
 
-#if !defined( BOOST_NO_CXX11_ALLOCATOR )
-
-        std::allocator_traits<A2>::destroy( a2, this );
-
-#else
-
         this->~this_type();
 
-#endif
-
         a2.deallocate( this, 1 );
     }