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

@@ -24,8 +24,7 @@ using TCountryFileFn = std::function<std::string(m2::PointD const &)>;
using CountryParentNameGetterFn = std::function<std::string(std::string const &)>;
// Guides with integer ids containing multiple tracks. One track consists of its points.
using GuidesTracks =
std::map<kml::MarkGroupId, std::vector<std::vector<geometry::PointWithAltitude>>>;
using GuidesTracks = std::map<kml::MarkGroupId, std::vector<std::vector<geometry::PointWithAltitude>>>;
class Route;
@@ -76,12 +75,11 @@ public:
/// @param route result route
/// @return ResultCode error code or NoError if route was initialised
/// @see Cancellable
virtual RouterResultCode CalculateRoute(Checkpoints const & checkpoints,
m2::PointD const & startDirection, bool adjust,
RouterDelegate const & delegate, Route & route) = 0;
virtual RouterResultCode CalculateRoute(Checkpoints const & checkpoints, m2::PointD const & startDirection,
bool adjust, RouterDelegate const & delegate, Route & route) = 0;
virtual bool FindClosestProjectionToRoad(m2::PointD const & point, m2::PointD const & direction,
double radius, EdgeProj & proj) = 0;
virtual bool FindClosestProjectionToRoad(m2::PointD const & point, m2::PointD const & direction, double radius,
EdgeProj & proj) = 0;
};
} // namespace routing