add curly braces to one line if

This commit is contained in:
Dennis Luxen 2014-05-20 15:37:18 +02:00
parent d53eb881c2
commit 69ad3f3365

View File

@ -80,7 +80,9 @@ struct TurnInstructionsClass
static inline bool TurnIsNecessary(const TurnInstruction turn_instruction) static inline bool TurnIsNecessary(const TurnInstruction turn_instruction)
{ {
if (TurnInstruction::NoTurn == turn_instruction || TurnInstruction::StayOnRoundAbout == turn_instruction) if (TurnInstruction::NoTurn == turn_instruction || TurnInstruction::StayOnRoundAbout == turn_instruction)
{
return false; return false;
}
return true; return true;
} }
}; };