| 389 | } |
| 390 | |
| 391 | StationIndex RideGetFirstValidStationStart(const Ride& ride) |
| 392 | { |
| 393 | for (const auto& station : ride.getStations()) |
| 394 | { |
| 395 | if (!station.Start.IsNull()) |
| 396 | { |
| 397 | return ride.getStationIndex(&station); |
| 398 | } |
| 399 | } |
| 400 | return StationIndex::GetNull(); |
| 401 | } |
| 402 | |
| 403 | StationIndex RideGetFirstEmptyStationStart(const Ride& ride) |
| 404 | { |
no test coverage detected