mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
aligning case with switch
This commit is contained in:
parent
82755da679
commit
83561b15eb
|
@ -2463,10 +2463,10 @@ Consider:
|
||||||
intermediate = func2(intermediate);
|
intermediate = func2(intermediate);
|
||||||
}
|
}
|
||||||
switch (flag2 / 10) {
|
switch (flag2 / 10) {
|
||||||
case 1: if (flag1 == -1) return finalize(intermediate, 1.171);
|
case 1: if (flag1 == -1) return finalize(intermediate, 1.171);
|
||||||
break;
|
break;
|
||||||
case 2: return finalize(intermediate, 13.1);
|
case 2: return finalize(intermediate, 13.1);
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
return finalize(intermediate, 0.);
|
return finalize(intermediate, 0.);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user