Retire Position::move_is_legal()

Use the new contains() method of struct MoveList

No functional change.
This commit is contained in:
Marco Costalba
2012-12-25 11:40:28 +01:00
parent 423c6d8a8a
commit 3b49aeb4f2
5 changed files with 10 additions and 19 deletions
-1
View File
@@ -137,7 +137,6 @@ public:
// Properties of moves
bool move_gives_check(Move m, const CheckInfo& ci) 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;