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:
committed by
GitHub
parent
a8f3474996
commit
e998c1193d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user