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