mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Retire one implementation of pop_lsb()
We have two implementations that are equivalent, so retire one. Plus usual tidy up of comments and code reshuffle. No functional change.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace {
|
||||
} // namespace
|
||||
|
||||
|
||||
bool Bitbases::probe_kpk(Square wksq, Square wpsq, Square bksq, Color us) {
|
||||
bool Bitbases::probe(Square wksq, Square wpsq, Square bksq, Color us) {
|
||||
|
||||
assert(file_of(wpsq) <= FILE_D);
|
||||
|
||||
@@ -80,7 +80,7 @@ bool Bitbases::probe_kpk(Square wksq, Square wpsq, Square bksq, Color us) {
|
||||
}
|
||||
|
||||
|
||||
void Bitbases::init_kpk() {
|
||||
void Bitbases::init() {
|
||||
|
||||
unsigned idx, repeat = 1;
|
||||
std::vector<KPKPosition> db;
|
||||
|
||||
Reference in New Issue
Block a user