]> git.sesse.net Git - stockfish/blobdiff - src/movegen.h
Sync with master
[stockfish] / src / movegen.h
index d46b8ddb7c9b4d5021fdbbcd13ff5dd59d2872ca..6a7f7e3ac51b4115f99e7bcef8a3296a7f69c39c 100644 (file)
@@ -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) {