(svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
* Destructor removes this object from the pool vector and
|
* Destructor removes this object from the pool vector and
|
||||||
* deletes the vector itself if this was the last item removed.
|
* deletes the vector itself if this was the last item removed.
|
||||||
*/
|
*/
|
||||||
PoolBase::~PoolBase()
|
/* virtual */ PoolBase::~PoolBase()
|
||||||
{
|
{
|
||||||
PoolVector *pools = PoolBase::GetPools();
|
PoolVector *pools = PoolBase::GetPools();
|
||||||
pools->Erase(pools->Find(this));
|
pools->Erase(pools->Find(this));
|
||||||
|
@@ -53,7 +53,7 @@ struct PoolBase {
|
|||||||
*PoolBase::GetPools()->Append() = this;
|
*PoolBase::GetPools()->Append() = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
~PoolBase();
|
virtual ~PoolBase();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Virtual method that deletes all items in the pool.
|
* Virtual method that deletes all items in the pool.
|
||||||
|
Reference in New Issue
Block a user