Comparator for two flow stats for ordering them in a way that makes the next flow stat to sent cargo for show up as first element. More...
#include <station_base.h>
Public Member Functions | |
bool | operator() (const FlowStat &x, const FlowStat &y) const |
Comparator function. |
Comparator for two flow stats for ordering them in a way that makes the next flow stat to sent cargo for show up as first element.
Definition at line 244 of file station_base.h.
Comparator function.
Decides by planned - sent or via, if those are equal.
x | First flow stat. | |
y | Second flow stat. |
Definition at line 252 of file station_base.h.
References FlowStat::Planned(), FlowStat::Sent(), and FlowStat::Via().