]> git.sesse.net Git - stockfish/commitdiff
Fix a couple of extra spaces
authorMarco Costalba <mcostalba@gmail.com>
Tue, 25 Dec 2012 17:48:41 +0000 (18:48 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 25 Dec 2012 17:48:41 +0000 (18:48 +0100)
No functional change.

src/movegen.h
src/types.h

index 9f45e250912602003c366f1942412edb56cbc1ff..0c2a8b25e6b0c4084c632358f88970bf158cae21 100644 (file)
@@ -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;
   }
 
index 99567bd7e22a608de7ca91a16d81058112661624..506e1b0f9b5f1adeb6c82db127d89b5165432ec4 100644 (file)
@@ -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) {