mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
Allow to assign a Move to an ExtMove
After defining ExtMove::operator Move(), this is a natural extension. No fnctional change.
This commit is contained in:
@@ -38,6 +38,7 @@ struct ExtMove {
|
||||
Value value;
|
||||
|
||||
operator Move() const { return move; }
|
||||
void operator=(Move m) { move = m; }
|
||||
};
|
||||
|
||||
inline bool operator<(const ExtMove& f, const ExtMove& s) {
|
||||
|
||||
Reference in New Issue
Block a user