X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=6a7f7e3ac51b4115f99e7bcef8a3296a7f69c39c;hp=d46b8ddb7c9b4d5021fdbbcd13ff5dd59d2872ca;hb=e56e5045dd48489a304e2b46d5461361b205b237;hpb=65f46794af41534e0dc744c6f7531a4c43eca857 diff --git a/src/movegen.h b/src/movegen.h index d46b8ddb..6a7f7e3a 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -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) {