OpenTTD Source 20241224-master-gf74b0cf984
CargoIDComparator Struct Reference

Comparator to sort CargoID by according to desired order. More...

#include <cargotype.h>

Public Member Functions

bool operator() (const CargoID &lhs, const CargoID &rhs) const
 

Detailed Description

Comparator to sort CargoID by according to desired order.

Definition at line 247 of file cargotype.h.

Member Function Documentation

◆ operator()()

bool CargoIDComparator::operator() ( const CargoID lhs,
const CargoID rhs 
) const
inline

Definition at line 248 of file cargotype.h.


The documentation for this struct was generated from the following file: