fix loading in storage

This commit is contained in:
Moritz Kobitzsch
2016-05-16 11:40:38 +02:00
committed by Patrick Niklaus
parent 44b841a25d
commit 98fe0badbe
3 changed files with 36 additions and 31 deletions
+4 -2
View File
@@ -56,7 +56,10 @@ void print(const std::vector<RouteStep> &steps)
{
std::cout << "(" << intersection.duration << " " << intersection.distance << " "
<< " Bearings: " << intersection.bearing_before << " "
<< intersection.bearing_after << ")";
<< intersection.bearing_after << " -- ";
for( auto bearing : intersection.bearing_class.getAvailableBearings() )
std:: cout << " " << bearing;
std::cout << ")";
}
std::cout << "] name[" << step.name_id << "]: " << step.name << std::endl;
@@ -430,7 +433,6 @@ std::vector<RouteStep> removeNoTurnInstructions(std::vector<RouteStep> steps)
};
boost::remove_erase_if(steps, not_is_valid);
return steps;
}