Coding style in move.cpp

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-06-23 07:51:02 +01:00
parent 4f5680950a
commit 9c7e2c8f9d
2 changed files with 20 additions and 27 deletions

View File

@@ -141,6 +141,7 @@ public:
// Properties of moves
bool move_gives_check(Move m, const CheckInfo& ci) const;
bool move_attacks_square(Move m, Square s) const;
bool move_is_legal(const Move m) const;
bool pl_move_is_legal(Move m, Bitboard pinned) const;
bool is_pseudo_legal(const Move m) const;
bool is_capture(Move m) const;
@@ -197,7 +198,6 @@ private:
void clear();
void put_piece(Piece p, Square s);
void set_castle_right(Color c, Square rfrom);
bool move_is_legal(const Move m) const;
// Helper template functions
template<bool Do> void do_castle_move(Move m);