Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layers: Fix a Wbitwise-instead-of-logical warning
`a || b` only evaluates b if a is false. `a | b` always evaluates both a and b. If a and b are of type bool, `||` is usually what you want, so clang now warns on `|` where both arguments are of type bool. Here, it doesn't make a difference. Use `||` to make clang happy.
- Loading branch information