(svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter

This commit is contained in:
smatz 2009-08-08 22:42:52 +00:00
parent 153cfa8c70
commit e2c404958d
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ struct Subsidy : SubsidyPool::PoolItem<&_subsidy_pool> {
*/
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?