Changeset - r17380:bee039a5952b
[Not reviewed]
master
0 2 0
planetmaker - 13 years ago 2011-02-24 06:57:55
planetmaker@openttd.org
(svn r22136) -Fix (r22112): Silence compiler warning about non-virtual destructor
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/core/pool_func.cpp
Show inline comments
 
@@ -16,7 +16,7 @@
 
 * Destructor removes this object from the pool vector and
 
 * deletes the vector itself if this was the last item removed.
 
 */
 
PoolBase::~PoolBase()
 
/* virtual */ PoolBase::~PoolBase()
 
{
 
	PoolVector *pools = PoolBase::GetPools();
 
	pools->Erase(pools->Find(this));
src/core/pool_type.hpp
Show inline comments
 
@@ -53,7 +53,7 @@ struct PoolBase {
 
		*PoolBase::GetPools()->Append() = this;
 
	}
 

	
 
	~PoolBase();
 
	virtual ~PoolBase();
 

	
 
	/**
 
	 * Virtual method that deletes all items in the pool.
0 comments (0 inline, 0 general)