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:
Marco Costalba
2015-01-03 16:39:17 +01:00
parent a6e292034a
commit 3fda064a66
6 changed files with 130 additions and 131 deletions

View File

@@ -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;