OpenTTD Source 20250205-master-gfd85ab1e2c
CargoTypeComparator Struct Reference

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

#include <cargotype.h>

Public Member Functions

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

Detailed Description

Comparator to sort CargoType by according to desired order.

Definition at line 248 of file cargotype.h.

Member Function Documentation

◆ operator()()

bool CargoTypeComparator::operator() ( const CargoType lhs,
const CargoType rhs 
) const
inline

Definition at line 249 of file cargotype.h.


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