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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user