Make TurnInstructionsClass functions free standing functions
This commit is contained in:
committed by
Patrick Niklaus
parent
03f64a6c20
commit
f65dd63210
@@ -47,7 +47,7 @@ inline util::json::Array AnnotateRoute(const std::vector<SegmentInformation> &ro
|
||||
{
|
||||
util::json::Array json_instruction_row;
|
||||
extractor::TurnInstruction current_instruction = segment.turn_instruction;
|
||||
if (extractor::TurnInstructionsClass::TurnIsNecessary(current_instruction))
|
||||
if (extractor::isTurnNecessary(current_instruction))
|
||||
{
|
||||
if (extractor::TurnInstruction::EnterRoundAbout == current_instruction)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user