mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 21:24:12 +01:00
Codechange: remove operator!=s that are synthesized
This commit is contained in:
@@ -179,12 +179,6 @@ struct CargoSummaryItem {
|
||||
uint amount; ///< Amount that is carried
|
||||
StationID source; ///< One of the source stations
|
||||
|
||||
/** Used by CargoSummary::Find() and similar functions */
|
||||
inline bool operator != (const CargoSummaryItem &other) const
|
||||
{
|
||||
return this->cargo != other.cargo || this->subtype != other.subtype;
|
||||
}
|
||||
|
||||
/** Used by std::find() and similar functions */
|
||||
inline bool operator == (const CargoSummaryItem &other) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user