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

@@ -1,7 +1,7 @@
#pragma once
#include "indexer/ftypes_matcher.hpp"
#include "geometry/point_with_altitude.hpp"
#include "indexer/ftypes_matcher.hpp"
#include "routing/loaded_path_segment.hpp"
namespace routing
@@ -19,14 +19,12 @@ struct TurnInfo
LoadedPathSegment const * m_ingoing;
LoadedPathSegment const * m_outgoing;
TurnInfo() : m_ingoing(nullptr), m_outgoing(nullptr)
{
}
TurnInfo() : m_ingoing(nullptr), m_outgoing(nullptr) {}
TurnInfo(LoadedPathSegment const * ingoingSegment, LoadedPathSegment const * outgoingSegment)
: m_ingoing(ingoingSegment), m_outgoing(outgoingSegment)
{
}
: m_ingoing(ingoingSegment)
, m_outgoing(outgoingSegment)
{}
bool IsSegmentsValid() const;
};
@@ -105,6 +103,5 @@ double CalcPathTurnAngle(LoadedPathSegment const & segment, size_t const pathInd
m2::PointD GetPointByIndex(TUnpackedPathSegments const & segments, RoutePointIndex const & index);
} // namespace turns
} // namespace routing