Departures: Fix OrderDateQueueItem operator< not being const

This commit is contained in:
Jonathan G Rennison 2024-09-11 22:35:38 +01:00
parent 7fd1d5e54d
commit df2c33c0b0

View File

@ -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);