File diff r18781:e1de9a06f7cd → r18782:6453522c2154
src/subsidy_base.h
Show inline comments
 
@@ -33,18 +33,18 @@ struct Subsidy : SubsidyPool::PoolItem<&
 
	/**
 
	 * We need an (empty) constructor so struct isn't zeroed (as C++ standard states)
 
	 */
 
	FORCEINLINE Subsidy() { }
 
	inline Subsidy() { }
 

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

	
 
	/**
 
	 * Tests whether this subsidy has been awarded to someone
 
	 * @return is this subsidy awarded?
 
	 */
 
	FORCEINLINE bool IsAwarded() const
 
	inline bool IsAwarded() const
 
	{
 
		return this->awarded != INVALID_COMPANY;
 
	}