Skip to content

Commit cf45410

Browse files
committed
Updated coding standards slightly
1 parent efabe9b commit cf45410

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

doc/CodingStandard.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,13 @@ like:
8080
Also, please place one space before opening parenthesis. Before, but not after
8181
(the `if ( blah )` style is a no-no!).
8282

83+
Inline functions should also use symmetric bracket placement, even for short functions:
84+
85+
bool isArena() const
86+
{
87+
return m_IsArena;
88+
}
89+
8390
Class declaration and constructors
8491
----------------------------------
8592
Here is an example:

0 commit comments

Comments
 (0)