mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-16 07:06:23 +08:00
Fix a couple of extra spaces
No functional change.
This commit is contained in:
@@ -47,7 +47,7 @@ struct MoveList {
|
||||
Move move() const { return cur->move; }
|
||||
size_t size() const { return last - mlist; }
|
||||
bool contains(Move m) const {
|
||||
for (const MoveStack* it(mlist) ; it != last; ++it) if (it->move == m) return true;
|
||||
for (const MoveStack* it(mlist); it != last; ++it) if (it->move == m) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -475,7 +475,7 @@ inline Move make_move(Square from, Square to) {
|
||||
|
||||
template<MoveType T>
|
||||
inline Move make(Square from, Square to, PieceType pt = KNIGHT) {
|
||||
return Move(to | (from << 6) | T | ((pt - KNIGHT) << 12)) ;
|
||||
return Move(to | (from << 6) | T | ((pt - KNIGHT) << 12));
|
||||
}
|
||||
|
||||
inline bool is_ok(Move m) {
|
||||
|
||||
Reference in New Issue
Block a user