]> git.sesse.net Git - stockfish/commit
Accessor for SquareBB #2067
authorprotonspring <mike@whiteley.org>
Sun, 31 Mar 2019 08:43:20 +0000 (02:43 -0600)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Sun, 31 Mar 2019 08:43:20 +0000 (10:43 +0200)
commit796d0ad70eaadf1a354d6565181331c981432f2d
tree2170c807b657f652a7cf9cb44418f039393a49a5
parent7133598a98301cf84857d39194026b876da48b96
Accessor for SquareBB #2067

This is a non-functional code style change.

If we add an accessor function for SquareBB we can consolidate all of the asserts. This is also a bit cleaner because all SquareBB accesses go through this method making future changes easier to manage.

STC
LLR: 2.96 (-2.94,2.94) [-3.00,1.00]
Total: 63406 W: 14084 L: 14045 D: 35277
http://tests.stockfishchess.org/tests/view/5c9ea6100ebc5925cfffc9af

No functional change.
src/bitboard.cpp
src/bitboard.h
src/pawns.cpp
src/position.h