mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Departures: Fix OrderDateQueueItem operator< not being const
This commit is contained in:
parent
7fd1d5e54d
commit
df2c33c0b0
@ -93,7 +93,7 @@ struct OrderDateQueueItem {
|
||||
uint order_data_index;
|
||||
Ticks tick;
|
||||
|
||||
bool operator<(const OrderDateQueueItem &other)
|
||||
bool operator<(const OrderDateQueueItem &other) const
|
||||
{
|
||||
/* Sort in opposite order */
|
||||
return std::tie(this->tick, this->order_data_index) > std::tie(other.tick, other.order_data_index);
|
||||
|
Loading…
Reference in New Issue
Block a user