| 1154 | } |
| 1155 | |
| 1156 | CargoDataEntry *CargoDataEntry::Retrieve(CargoDataSet::iterator i) const |
| 1157 | { |
| 1158 | if (i == this->children->end()) { |
| 1159 | return nullptr; |
| 1160 | } else { |
| 1161 | assert(this->children->value_comp().GetSortType() != CargoSortType::Count); |
| 1162 | return i->get(); |
| 1163 | } |
| 1164 | } |
| 1165 | |
| 1166 | bool CargoSorter::operator()(const CargoDataEntry &cd1, const CargoDataEntry &cd2) const |
| 1167 | { |
no test coverage detected