diff --git a/libs/traffxml/traff_decoder.cpp b/libs/traffxml/traff_decoder.cpp index 1c3b82a17..dc58135e9 100644 --- a/libs/traffxml/traff_decoder.cpp +++ b/libs/traffxml/traff_decoder.cpp @@ -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()); diff --git a/libs/traffxml/traff_decoder.hpp b/libs/traffxml/traff_decoder.hpp index c728f8309..e1e50f379 100644 --- a/libs/traffxml/traff_decoder.hpp +++ b/libs/traffxml/traff_decoder.hpp @@ -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;