mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Move move_is_legal() under Position class
It is a more logical place than in move generation file. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -36,7 +36,4 @@ enum MoveType {
|
||||
template<MoveType T>
|
||||
MoveStack* generate(const Position& pos, MoveStack* mlist);
|
||||
|
||||
extern bool move_is_legal(const Position& pos, const Move m, Bitboard pinned);
|
||||
extern bool move_is_legal(const Position& pos, const Move m);
|
||||
|
||||
#endif // !defined(MOVEGEN_H_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user