remove unnecessary warnings, initialize correctly
This commit is contained in:
committed by
Patrick Niklaus
parent
d12a95b4ef
commit
59168e21b4
@@ -35,8 +35,7 @@ namespace
|
||||
// invalidate a step and set its content to nothing
|
||||
void invalidateStep(RouteStep &step)
|
||||
{
|
||||
step = {};
|
||||
step.maneuver.instruction = TurnInstruction::NO_TURN();
|
||||
step = getInvalidRouteStep();
|
||||
}
|
||||
|
||||
void print(const std::vector<RouteStep> &steps)
|
||||
|
||||
Reference in New Issue
Block a user