Remove extra ; in PostProcessing

This commit is contained in:
Patrick Niklaus 2016-04-29 00:15:31 +02:00
parent a8b730576f
commit 5ce465ce23
No known key found for this signature in database
GPG Key ID: E426891B5F978B1B

View File

@ -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,