Skip to content

Commit

Permalink
coding guidelines: remove bool advice that conflicts with clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Habbie committed Jan 6, 2025
1 parent 788f396 commit 90e3098
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CODING_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ Without `auto`, code might still compile but trigger a copy or worse.
## Explicit Comparisons

* Compare numerical values with `== 0` or `!= 0` explicitly ;
* Compare to `false` explicitly, which is easier to read ;
* Compare to `nullptr` for the same reason.

## Initialization
Expand Down

0 comments on commit 90e3098

Please sign in to comment.