Freeciv21
Develop your civilization from humble roots to a global empire
unit_utils.h File Reference
#include <vector>
+ Include dependency graph for unit_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::vector< unit * > sorted (const unit_list *units)
 Returns a version of units sorted in the way the user would like to see them. More...
 

Function Documentation

◆ sorted()

std::vector<unit *> sorted ( const unit_list *  units)

Returns a version of units sorted in the way the user would like to see them.

Definition at line 87 of file unit_utils.cpp.

Referenced by city_trade_removable(), unit_list_widget::set_units(), and units_select::update_units().