diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:03:14 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 20:03:14 +0100 |
commit | 3d2428af8e8d9d49b4ade52d4806a7dae4cf1ab8 (patch) | |
tree | 30d908c427ff9b4ee53402fbf52cb15704e58623 /contributing.md | |
parent | fde229c24dcbd1ed844880a35eabddb88279802b (diff) |
merge #25 + nitpicking
Diffstat (limited to 'contributing.md')
-rw-r--r-- | contributing.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contributing.md b/contributing.md index ba8ad68..8799057 100644 --- a/contributing.md +++ b/contributing.md @@ -635,6 +635,23 @@ that you can click on to open them. } ``` </td></tr></table></details> +- <details><summary> + Assigning booleans should be done with the + <code>true</code>/<code>false</code> literals instead of + <code>0</code>/<code>1</code> + </summary><table><tr><th>Good</th><th>Bad</th></tr><tr><td> + + ```cpp + bool foo = true; + bool bar = false; + ``` + </td><td> + + ```cpp + bool foo = 1; + bool bar = 0; + ``` + </td></tr></table></details> ## CMakeLists-specific |