From 83561b15eba2f1512937c3ac17cd23597cf1ef62 Mon Sep 17 00:00:00 2001 From: Franz Hollerer Date: Mon, 31 Jul 2017 21:21:09 +0200 Subject: [PATCH] aligning case with switch --- CppCoreGuidelines.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 83d9ba1..0188987 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -2463,10 +2463,10 @@ Consider: intermediate = func2(intermediate); } switch (flag2 / 10) { - case 1: if (flag1 == -1) return finalize(intermediate, 1.171); - break; - case 2: return finalize(intermediate, 13.1); - default: break; + case 1: if (flag1 == -1) return finalize(intermediate, 1.171); + break; + case 2: return finalize(intermediate, 13.1); + default: break; } return finalize(intermediate, 0.); }