Fix condition
This commit is contained in:
parent
cadf0d6408
commit
cfb61aefda
@ -169,7 +169,7 @@ inline bool hasRoundaboutType(const TurnInstruction instruction)
|
||||
TurnType::ExitRoundaboutIntersection,
|
||||
TurnType::StayOnRoundabout};
|
||||
|
||||
return std::find(valid_types.cbegin(), valid_types.cend(), instruction.type);
|
||||
return std::find(valid_types.cbegin(), valid_types.cend(), instruction.type) != valid_types.cend();
|
||||
}
|
||||
|
||||
inline bool entersRoundabout(const guidance::TurnInstruction instruction)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user