Codechange: remove operator!=s that are synthesized
This commit is contained in:
@@ -665,16 +665,6 @@ struct RefitOption {
|
||||
uint8_t subtype; ///< Subcargo to use
|
||||
StringID string; ///< GRF-local String to display for the cargo
|
||||
|
||||
/**
|
||||
* Inequality operator for #RefitOption.
|
||||
* @param other Compare to this #RefitOption.
|
||||
* @return True if both #RefitOption are different.
|
||||
*/
|
||||
inline bool operator != (const RefitOption &other) const
|
||||
{
|
||||
return other.cargo != this->cargo || other.string != this->string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Equality operator for #RefitOption.
|
||||
* @param other Compare to this #RefitOption.
|
||||
|
||||
Reference in New Issue
Block a user