From: Marco Costalba Date: Tue, 25 Dec 2012 17:48:41 +0000 (+0100) Subject: Fix a couple of extra spaces X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=b5b799b5ab4de93aa8a03a310d2f178698a5cf86 Fix a couple of extra spaces No functional change. --- diff --git a/src/movegen.h b/src/movegen.h index 9f45e250..0c2a8b25 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -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; } diff --git a/src/types.h b/src/types.h index 99567bd7..506e1b0f 100644 --- a/src/types.h +++ b/src/types.h @@ -475,7 +475,7 @@ inline Move make_move(Square from, Square to) { template 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) {