OpenTTD Source: CargoTypeComparator Struct Reference

OpenTTD Source 15.0-RC2

Public Member Functions
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 244 of file cargotype.h.

## Member Function Documentation

## ◆ operator()()

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

Definition at line 245 of file cargotype.h.

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

- src/cargotype.h