mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Fix a couple of extra spaces
No functional change.
This commit is contained in:
parent
e82382703c
commit
b5b799b5ab
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue