]> git.sesse.net Git - stockfish/commitdiff
Rename shift_bb() to shift()
authorStéphane Nicolet <cassio@free.fr>
Fri, 23 Sep 2016 17:28:34 +0000 (19:28 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 25 Sep 2016 08:45:10 +0000 (10:45 +0200)
Rename shift_bb() to shift(), and DELTA_S to SOUTH, etc.
to improve code readability, especially in evaluate.cpp
when they are used together:

    old b = shift_bb<DELTA_S>(pos.pieces(PAWN))
    new b = shift<SOUTH>(pos.pieces(PAWN))

While there fix some small code style issues.

No functional change.


No differences found