mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00: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