mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Remove unused wrong code.
This commit is contained in:
parent
6ca112b797
commit
f905b93de5
3
sptr.hh
3
sptr.hh
|
@ -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; }
|
||||||
|
|
Loading…
Reference in a new issue