Skip to content

Commit d10c767

Browse files
authored
Added setting the values of setters in the headers
1 parent 8c7ccb2 commit d10c767

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/developing/coding-rules.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ When developing code in ldmx-sw please follow the following best practises and s
1111
6. Use `lowercase` for namespaces
1212
7. Run `just format-cpp` so the automated formatting is applied
1313
8. For setters, include the word `set` in the beginning of the function, e.g. `setHitValsX()`
14-
9. Do not use `__` in any c++ variable name
14+
9. Set the value of the setter in the header of the file
15+
10. Do not use `__` in any c++ variable name
1516

1617
## II. Packaging Rules
1718
1. Put the header files with the extension of `.h` into `Package/include/Package/MyFile.h`

0 commit comments

Comments
 (0)