| 40 | StationKdtree _station_kdtree{}; |
| 41 | |
| 42 | void RebuildStationKdtree() |
| 43 | { |
| 44 | std::vector<StationID> stids; |
| 45 | for (const Station *st : Station::Iterate()) { |
| 46 | stids.push_back(st->index); |
| 47 | } |
| 48 | _station_kdtree.Build(stids.begin(), stids.end()); |
| 49 | } |
| 50 | |
| 51 | |
| 52 | BaseStation::~BaseStation() |
no test coverage detected