Removed unused structure and fixed "multi-line comment" warning

This commit is contained in:
Michael Krasnyk 2017-01-05 11:28:21 +01:00 committed by Moritz Kobitzsch
parent dc81f581a0
commit 7dea7476f1
2 changed files with 1 additions and 14 deletions

View File

@ -340,7 +340,7 @@ double findTotalTurnAngle(const RouteStep &entry_step, const RouteStep &exit_ste
// both angles are in the same direction, the total turn gets increased // both angles are in the same direction, the total turn gets increased
// //
// a ---- b // a ---- b
// \ // \ 
// c // c
// | // |
// d // d

View File

@ -11,19 +11,6 @@ namespace extractor
namespace guidance namespace guidance
{ {
struct TurnPossibility
{
TurnPossibility(bool entry_allowed, double bearing)
: entry_allowed(entry_allowed), bearing(std::move(bearing))
{
}
TurnPossibility() : entry_allowed(false), bearing(0) {}
bool entry_allowed;
double bearing;
};
std::pair<util::guidance::EntryClass, util::guidance::BearingClass> std::pair<util::guidance::EntryClass, util::guidance::BearingClass>
classifyIntersection(Intersection intersection) classifyIntersection(Intersection intersection)
{ {