File diff r18781:e1de9a06f7cd → r18782:6453522c2154
src/vehicle_gui.cpp
Show inline comments
 
@@ -294,23 +294,23 @@ struct RefitOption {
 

	
 
	/**
 
	 * Inequality operator for #RefitOption.
 
	 * @param other Compare to this #RefitOption.
 
	 * @return True if both #RefitOption are different.
 
	 */
 
	FORCEINLINE bool operator != (const RefitOption &other) const
 
	inline bool operator != (const RefitOption &other) const
 
	{
 
		return other.cargo != this->cargo || other.value != this->value;
 
	}
 

	
 
	/**
 
	 * Equality operator for #RefitOption.
 
	 * @param other Compare to this #RefitOption.
 
	 * @return True if both #RefitOption are equal.
 
	 */
 
	FORCEINLINE bool operator == (const RefitOption &other) const
 
	inline bool operator == (const RefitOption &other) const
 
	{
 
		return other.cargo == this->cargo && other.value == this->value;
 
	}
 
};
 

	
 
typedef SmallVector<RefitOption, 32> SubtypeList; ///< List of refit subtypes associated to a cargo.