position: Remove unused pseudo_legal()
This commit is contained in:
parent
97c1b969bc
commit
fe1d03287a
|
@ -396,17 +396,6 @@ bool Position::legal(Move m) const
|
|||
}
|
||||
|
||||
|
||||
/// Position::pseudo_legal() takes a random move and tests whether the move is
|
||||
/// pseudo legal. It is used to validate moves from TT that can be corrupted
|
||||
/// due to SMP concurrent access or hash position key aliasing.
|
||||
|
||||
bool Position::pseudo_legal(const Move m) const
|
||||
{
|
||||
// TODO
|
||||
return legal(m);
|
||||
}
|
||||
|
||||
|
||||
/// Position::do_move() makes a move, and saves all information necessary
|
||||
/// to a StateInfo object. The move is assumed to be legal. Pseudo-legal
|
||||
/// moves should be filtered out before this function is called.
|
||||
|
|
|
@ -72,7 +72,6 @@ public:
|
|||
|
||||
// Properties of moves
|
||||
bool legal(Move m) const;
|
||||
bool pseudo_legal(const Move m) const;
|
||||
Piece moved_piece(Move m) const;
|
||||
|
||||
// Doing and undoing moves
|
||||
|
|
Loading…
Reference in New Issue