diff options
Diffstat (limited to 'CodingStyle')
-rw-r--r-- | CodingStyle | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CodingStyle b/CodingStyle index 75aa1d431..fab68608a 100644 --- a/CodingStyle +++ b/CodingStyle @@ -42,6 +42,7 @@ Basic rules if (condition) { dosomething(); + dosomethingelse(); } - both sides of an if / else clause either use or do not use curly braces: @@ -73,8 +74,9 @@ Basic rules - in a C++ constructor initialization list, the colon is on the same line and continuation lines are aligned as the rule above: - ClassName::ClassName() : x(1), y(2), - z(3) + ClassName::ClassName() : x(1), + y(2), + z(3) { } |