Format all C++ and Java code via clang-format

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-08-17 14:32:37 +07:00
parent 9f0290c0ec
commit bfffa1fff4
2169 changed files with 56441 additions and 64188 deletions

View File

@@ -42,15 +42,13 @@ public:
GuidesGraph() = default;
explicit GuidesGraph(double maxSpeedMpS, NumMwmId mwmId);
Segment AddTrack(std::vector<geometry::PointWithAltitude> const & guideTrack,
size_t requiredSegmentIdx);
Segment AddTrack(std::vector<geometry::PointWithAltitude> const & guideTrack, size_t requiredSegmentIdx);
FakeEnding MakeFakeEnding(Segment const & segment, m2::PointD const & point,
geometry::PointWithAltitude const & projection) const;
using EdgeListT = SmallList<SegmentEdge>;
void GetEdgeList(Segment const & segment, bool isOutgoing, EdgeListT & edges,
RouteWeight const & prevWeight) const;
void GetEdgeList(Segment const & segment, bool isOutgoing, EdgeListT & edges, RouteWeight const & prevWeight) const;
routing::LatLonWithAltitude const & GetJunction(Segment const & segment, bool front) const;
RouteWeight CalcSegmentWeight(Segment const & segment) const;
Segment FindSegment(Segment const & segment, size_t segmentIdx) const;
@@ -61,8 +59,7 @@ public:
NumMwmId GetMwmId() const;
private:
double CalcSegmentTimeS(LatLonWithAltitude const & point1,
LatLonWithAltitude const & point2) const;
double CalcSegmentTimeS(LatLonWithAltitude const & point1, LatLonWithAltitude const & point2) const;
GuideSegments m_segments;
double m_maxSpeedMpS = 0.0;