RoadAccess -------------------------------------------------------------------------------------- * @todo (bykoinako) It's a fast fix for release. The idea behind it is to remember the time of * creation RoadAccess instance and return it instead of getting time when m_currentTimeGetter() is * called. But it's not understandable now why m_currentTimeGetter() is called when * cross_mwm section i
| 34 | * Fixed by setting custom time getter in BuildRoutingCrossMwmSection -> FillWeights. |
| 35 | */ |
| 36 | RoadAccess::RoadAccess() : m_currentTimeGetter([]() { return GetCurrentTimestamp(); }) {} |
| 37 | |
| 38 | std::pair<RoadAccess::Type, RoadAccess::Confidence> RoadAccess::GetAccess(uint32_t featureId, |
| 39 | RouteWeight const & weightToFeature) const |
nothing calls this directly
no test coverage detected