Remove use of memcmp in CheckCaches

This commit is contained in:
Jonathan G Rennison
2024-05-29 18:30:54 +01:00
parent 2b539a2d37
commit cb1e41fc88
8 changed files with 24 additions and 14 deletions

View File

@@ -47,6 +47,8 @@ struct GroundVehicleCache {
/* Cached UI information. */
uint16_t last_speed; ///< The last speed we did display, so we only have to redraw when this changes.
bool operator==(const GroundVehicleCache &) const = default;
};
/** Ground vehicle flags. */