OpenTTD
|
Comparator for std containers. More...
Public Member Functions | |
bool | operator() (const CapacityAnnotation *x, const CapacityAnnotation *y) const |
Compare two capacity annotations. |
Comparator for std containers.
bool CapacityAnnotation::Comparator::operator() | ( | const CapacityAnnotation * | x, |
const CapacityAnnotation * | y | ||
) | const |
Compare two capacity annotations.
x | First capacity annotation. |
y | Second capacity annotation. |
Definition at line 582 of file mcf.cpp.
References CapacityAnnotation::GetAnnotation(), and Path::GetNode().