Update docs for process_turn in the profile docs (#4786)

* update correct attributes available in process turn

* make travel mode in ExtractedTurn const

* fix mismatch of struct and class
This commit is contained in:
Huyen Chau Nguyen
2018-01-10 11:31:24 +01:00
committed by GitHub
parent a8f3474996
commit e998c1193d
3 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ struct ExtractionTurn
const bool is_left_hand_driving;
double weight;
double duration;
TravelMode source_mode;
TravelMode target_mode;
const TravelMode source_mode;
const TravelMode target_mode;
};
}
}
@@ -12,7 +12,7 @@ namespace osrm
{
namespace util
{
class Coordinate;
struct Coordinate;
}
namespace extractor