1
0
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:
Rubidium
2025-02-08 00:13:02 +01:00
committed by rubidium42
parent 760b8f74b7
commit 04d53ed6f5
12 changed files with 0 additions and 54 deletions

View File

@@ -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
{