| 380 | } |
| 381 | |
| 382 | Segment TransitGraph::GetNewTransitSegment() const |
| 383 | { |
| 384 | auto const featureId = m_fake.GetSize() + FakeFeatureIds::kTransitGraphFeaturesStart; |
| 385 | CHECK_LESS_OR_EQUAL(featureId, numeric_limits<uint32_t>::max(), ()); |
| 386 | return GetTransitSegment(static_cast<uint32_t>(featureId)); |
| 387 | } |
| 388 | |
| 389 | void TransitGraph::AddGate(transit::Gate const & gate, FakeEnding const & ending, |
| 390 | map<transit::StopId, LatLonWithAltitude> const & stopCoords, bool isEnter, |