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

@@ -37,11 +37,9 @@ public:
string GetName() const override { return "Dummy"; }
void SetGuides(GuidesTracks && /* guides */) override {}
RouterResultCode CalculateRoute(Checkpoints const & checkpoints, m2::PointD const & startDirection,
bool adjustToPrevRoute, RouterDelegate const & delegate,
Route & route) override
bool adjustToPrevRoute, RouterDelegate const & delegate, Route & route) override
{
route = Route("dummy", checkpoints.GetPoints().cbegin(), checkpoints.GetPoints().cend(),
0 /* route id */);
route = Route("dummy", checkpoints.GetPoints().cbegin(), checkpoints.GetPoints().cend(), 0 /* route id */);
for (auto const & absent : m_absent)
route.AddAbsentCountry(absent);
@@ -49,8 +47,8 @@ public:
return m_result;
}
bool FindClosestProjectionToRoad(m2::PointD const & point, m2::PointD const & direction,
double radius, EdgeProj & proj) override
bool FindClosestProjectionToRoad(m2::PointD const & point, m2::PointD const & direction, double radius,
EdgeProj & proj) override
{
return false;
}
@@ -95,8 +93,7 @@ struct DummyRoutingCallbacks
{
lock_guard<mutex> calledLock(m_lock);
++m_called;
TEST_LESS_OR_EQUAL(m_called, m_expected,
("The result callback called more times than expected."));
TEST_LESS_OR_EQUAL(m_called, m_expected, ("The result callback called more times than expected."));
}
m_cv.notify_all();
}