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

@@ -14,8 +14,7 @@ double constexpr PositionAccumulator::kMaxValidSegmentLengthM;
void PositionAccumulator::PushNextPoint(m2::PointD const & point)
{
double const lenM =
m_points.empty() ? 0.0 : mercator::DistanceOnEarth(point, m_points.back());
double const lenM = m_points.empty() ? 0.0 : mercator::DistanceOnEarth(point, m_points.back());
// If the last segment is too long it tells nothing about an end user direction.
// And the history is not actual.
@@ -77,4 +76,4 @@ m2::PointD PositionAccumulator::GetDirection() const
return m_points.back() - m_points.front();
}
} // routing
} // namespace routing