From cadf0d64089755b7b1093fd2d8f7377d8fbed620 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 6 May 2024 21:03:56 +0200 Subject: [PATCH] Fix formatting --- include/guidance/turn_instruction.hpp | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/include/guidance/turn_instruction.hpp b/include/guidance/turn_instruction.hpp index cc70f387e..ecf1eb376 100644 --- a/include/guidance/turn_instruction.hpp +++ b/include/guidance/turn_instruction.hpp @@ -154,19 +154,20 @@ inline bool operator==(const TurnInstruction lhs, const TurnInstruction rhs) inline bool hasRoundaboutType(const TurnInstruction instruction) { using namespace guidance::TurnType; - const constexpr std::array valid_types = {TurnType::EnterRoundabout, - TurnType::EnterAndExitRoundabout, - TurnType::EnterRotary, - TurnType::EnterAndExitRotary, - TurnType::EnterRoundaboutIntersection, - TurnType::EnterAndExitRoundaboutIntersection, - TurnType::EnterRoundaboutAtExit, - TurnType::ExitRoundabout, - TurnType::EnterRotaryAtExit, - TurnType::ExitRotary, - TurnType::EnterRoundaboutIntersectionAtExit, - TurnType::ExitRoundaboutIntersection, - TurnType::StayOnRoundabout}; + const constexpr std::array valid_types = { + TurnType::EnterRoundabout, + TurnType::EnterAndExitRoundabout, + TurnType::EnterRotary, + TurnType::EnterAndExitRotary, + TurnType::EnterRoundaboutIntersection, + TurnType::EnterAndExitRoundaboutIntersection, + TurnType::EnterRoundaboutAtExit, + TurnType::ExitRoundabout, + TurnType::EnterRotaryAtExit, + TurnType::ExitRotary, + TurnType::EnterRoundaboutIntersectionAtExit, + TurnType::ExitRoundaboutIntersection, + TurnType::StayOnRoundabout}; return std::find(valid_types.cbegin(), valid_types.cend(), instruction.type); }