(svn r17127) -Fix (r17124): destructor has to be defined else operator delete might be called with NULL parameter
This commit is contained in:
@@ -28,6 +28,11 @@ struct Subsidy : SubsidyPool::PoolItem<&_subsidy_pool> {
|
|||||||
*/
|
*/
|
||||||
FORCEINLINE Subsidy() { }
|
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
|
* Tests whether this subsidy has been awarded to someone
|
||||||
* @return is this subsidy awarded?
|
* @return is this subsidy awarded?
|
||||||
|
Reference in New Issue
Block a user