Remove unused wrong code.

This commit is contained in:
12101111 2020-04-03 18:23:21 +08:00
parent 6ca112b797
commit f905b93de5

View file

@ -67,9 +67,6 @@ public:
} }
} }
unsigned use_count() const
{ return count; }
sptr_base & operator = ( sptr_base const & other ) sptr_base & operator = ( sptr_base const & other )
{ if ( &other != this ) { reset(); p = other.p; count = other.count; increment(); } { if ( &other != this ) { reset(); p = other.p; count = other.count; increment(); }
return * this; } return * this; }