MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / operator()

Method operator()

src/station_gui.cpp:875–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873 CargoSortType GetSortType() {return this->type;}
874 bool operator()(const CargoDataEntry &cd1, const CargoDataEntry &cd2) const;
875 bool operator()(const CargoDataEntry &cd1, const std::unique_ptr<CargoDataEntry> &cd2) const { return this->operator()(cd1, *cd2); }
876 bool operator()(const std::unique_ptr<CargoDataEntry> &cd1, const CargoDataEntry &cd2) const { return this->operator()(*cd1, cd2); }
877 bool operator()(const std::unique_ptr<CargoDataEntry> &cd1, const std::unique_ptr<CargoDataEntry> &cd2) const { return this->operator()(*cd1, *cd2); }
878

Callers

nothing calls this directly

Calls 1

operator()Method · 0.95

Tested by

no test coverage detected