Use bool(Bitboard b) instead of !!b (#1321)
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 3 Dec 2017 17:29:55 +0000 (18:29 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 3 Dec 2017 17:29:55 +0000 (18:29 +0100)
commit2acda1fde3e1542a0b1bfc5a0885559e6daf142a
treebb02dc70dfcc85f7a3fc8c6653f3621ea2e85af2
parent28b6a457c24d9202ba43a6d6703221250f0f8749
Use bool(Bitboard b) instead of !!b (#1321)

The idiom !!b is confusing newcomers (e.g. Stefan needs explaining here https://groups.google.com/d/msg/fishcooking/vYqnsRI4brY/Gaf60QuACwAJ).

No functional change.
src/bitboard.h
src/evaluate.cpp
src/pawns.cpp
src/pawns.h
src/search.cpp