From b5b799b5ab4de93aa8a03a310d2f178698a5cf86 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 25 Dec 2012 18:48:41 +0100 Subject: [PATCH] Fix a couple of extra spaces No functional change. --- src/movegen.h | 2 +- src/types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.2