Permalink
Browse files

Fix a couple of extra spaces

No functional change.
  • Loading branch information...
mcostalba committed Dec 25, 2012
1 parent e823827 commit b5b799b5ab4de93aa8a03a310d2f178698a5cf86
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/movegen.h
  2. +1 −1 src/types.h
View
@@ -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;
}
View
@@ -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) {

0 comments on commit b5b799b

Please sign in to comment.