Retire mirror()

Inline the only caller site.

No functional change.
This commit is contained in:
Marco Costalba
2013-10-24 20:38:02 +02:00
parent 281472e50e
commit 48f38f3092
2 changed files with 1 additions and 5 deletions

View File

@@ -72,7 +72,7 @@ namespace {
assert(pos.count<PAWN>(strongSide) == 1);
if (file_of(pos.list<PAWN>(strongSide)[0]) >= FILE_E)
sq = mirror(sq);
sq = Square(sq ^ 7); // Mirror SQ_H1 -> SQ_A1
if (strongSide == BLACK)
sq = ~sq;