[traffic] Comment out unused argument

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-10-19 17:45:25 +03:00
parent a3d1ed83c3
commit 4e624bd04b
2 changed files with 4 additions and 4 deletions

View File

@@ -599,7 +599,7 @@ double RoutingTraffDecoder::TraffEstimator::CalcOffroad(ms::LatLon const & from,
* - road class mismatch
* - road ref mismatch
*/
double RoutingTraffDecoder::TraffEstimator::CalcSegmentWeight(routing::Segment const & segment, routing::RoadGeometry const & road, Purpose purpose) const
double RoutingTraffDecoder::TraffEstimator::CalcSegmentWeight(routing::Segment const & segment, routing::RoadGeometry const & road, Purpose /* purpose */) const
{
double result = road.GetDistance(segment.GetSegmentIdx());

View File

@@ -301,7 +301,7 @@ public:
* @return Travel time in seconds.
*/
double CalcOffroad(ms::LatLon const & from, ms::LatLon const & to, Purpose purpose) const override;
double CalcSegmentWeight(routing::Segment const & segment, routing::RoadGeometry const & road, Purpose purpose) const override;
double CalcSegmentWeight(routing::Segment const & segment, routing::RoadGeometry const & road, Purpose /* purpose */) const override;
/**
* @brief Determines the penalty factor based on how two reference numbers match.
@@ -317,9 +317,9 @@ public:
double GetRoadRefPenalty(std::string & ref) const;
double GetUTurnPenalty(Purpose /* purpose */) const override;
double GetTurnPenalty(Purpose purpose, double angle, routing::RoadGeometry const & from_road,
double GetTurnPenalty(Purpose /* purpose */, double angle, routing::RoadGeometry const & from_road,
routing::RoadGeometry const & to_road, bool is_left_hand_traffic = false) const override;
double GetFerryLandingPenalty(Purpose purpose) const override;
double GetFerryLandingPenalty(Purpose /* purpose */) const override;
private:
RoutingTraffDecoder & m_decoder;