mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 05:13:58 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -19,8 +19,8 @@ inline void DebugRoutingState(...) {}
|
||||
class JointSegment;
|
||||
class RouteWeight;
|
||||
class Segment;
|
||||
void DebugRoutingState(Segment const & vertex, std::optional<Segment> const & parent,
|
||||
RouteWeight const & heuristic, RouteWeight const & distance);
|
||||
void DebugRoutingState(Segment const & vertex, std::optional<Segment> const & parent, RouteWeight const & heuristic,
|
||||
RouteWeight const & distance);
|
||||
void DebugRoutingState(JointSegment const & vertex, std::optional<JointSegment> const & parent,
|
||||
RouteWeight const & heuristic, RouteWeight const & distance);
|
||||
#endif
|
||||
@@ -33,7 +33,10 @@ public:
|
||||
|
||||
JunctionVisitor(Graph & graph, RouterDelegate const & delegate, uint32_t visitPeriod,
|
||||
std::shared_ptr<AStarProgress> const & progress = nullptr)
|
||||
: m_graph(graph), m_delegate(delegate), m_visitPeriod(visitPeriod), m_progress(progress)
|
||||
: m_graph(graph)
|
||||
, m_delegate(delegate)
|
||||
, m_visitPeriod(visitPeriod)
|
||||
, m_progress(progress)
|
||||
{
|
||||
if (progress)
|
||||
m_lastProgressPercent = progress->GetLastPercent();
|
||||
@@ -41,7 +44,8 @@ public:
|
||||
|
||||
/// @param[in] p { Current state, Step context } pair.
|
||||
/// @param[in] to End vertex (final for forward and start for backward waves).
|
||||
template <class StateContextPair> void operator()(StateContextPair const & p, Vertex const & to)
|
||||
template <class StateContextPair>
|
||||
void operator()(StateContextPair const & p, Vertex const & to)
|
||||
{
|
||||
auto const & state = p.first;
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user