From 69ad3f33656ae60df11ba323a78f8e5a5212082c Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 20 May 2014 15:37:18 +0200 Subject: [PATCH] add curly braces to one line if --- DataStructures/TurnInstructions.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DataStructures/TurnInstructions.h b/DataStructures/TurnInstructions.h index 4e0d6255f..61de3b11b 100644 --- a/DataStructures/TurnInstructions.h +++ b/DataStructures/TurnInstructions.h @@ -80,7 +80,9 @@ struct TurnInstructionsClass static inline bool TurnIsNecessary(const TurnInstruction turn_instruction) { if (TurnInstruction::NoTurn == turn_instruction || TurnInstruction::StayOnRoundAbout == turn_instruction) + { return false; + } return true; } };