Remove extra ; in PostProcessing
This commit is contained in:
parent
a8b730576f
commit
5ce465ce23
@ -37,7 +37,7 @@ void invalidateStep(RouteStep &step)
|
|||||||
{
|
{
|
||||||
step = {};
|
step = {};
|
||||||
step.maneuver.instruction = TurnInstruction::NO_TURN();
|
step.maneuver.instruction = TurnInstruction::NO_TURN();
|
||||||
};
|
}
|
||||||
|
|
||||||
void print(const std::vector<RouteStep> &steps)
|
void print(const std::vector<RouteStep> &steps)
|
||||||
{
|
{
|
||||||
@ -312,7 +312,7 @@ bool collapsable(const RouteStep &step)
|
|||||||
{
|
{
|
||||||
const constexpr double MAX_COLLAPSE_DISTANCE = 25;
|
const constexpr double MAX_COLLAPSE_DISTANCE = 25;
|
||||||
return step.distance < MAX_COLLAPSE_DISTANCE;
|
return step.distance < MAX_COLLAPSE_DISTANCE;
|
||||||
};
|
}
|
||||||
|
|
||||||
void collapseTurnAt(std::vector<RouteStep> &steps,
|
void collapseTurnAt(std::vector<RouteStep> &steps,
|
||||||
const std::size_t two_back_index,
|
const std::size_t two_back_index,
|
||||||
|
Loading…
Reference in New Issue
Block a user