Changeset - r12662:b759c2e1431c
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-08-08 22:42:52
smatz@openttd.org
(svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/subsidy_base.h
Show inline comments
 
@@ -29,6 +29,11 @@ struct Subsidy : SubsidyPool::PoolItem<&
 
	FORCEINLINE Subsidy() { }
 

	
 
	/**
 
	 * (Empty) destructor has to be defined else operator delete might be called with NULL parameter
 
	 */
 
	FORCEINLINE ~Subsidy() { }
 

	
 
	/**
 
	 * Tests whether this subsidy has been awarded to someone
 
	 * @return is this subsidy awarded?
 
	 */
0 comments (0 inline, 0 general)