SuperTuxKart
|
A function class to compare messages, required for priority_queue. More...
Public Member Functions | |
bool | operator() (const std::unique_ptr< Message > &a, const std::unique_ptr< Message > &b) const |
Used to sort messages by priority in the priority queue. | |
A function class to compare messages, required for priority_queue.
|
inline |
Used to sort messages by priority in the priority queue.
Achievement messages (1) need to have a higher priority than friend messages (value 0), and errors (3) the highest priority.