X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=daee502d8ccfae5badf28894f28f1fc38317c1c9;hp=825605704c920ebd52220ae4b63ec9b35ecf66a3;hb=28b6a457c24d9202ba43a6d6703221250f0f8749;hpb=ccd6bad51299cf00e730b2c7db5379bd9720e27c;ds=sidebyside diff --git a/src/movegen.h b/src/movegen.h index 82560570..daee502d 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -45,7 +45,7 @@ struct ExtMove { // Inhibit unwanted implicit conversions to Move // with an ambiguity that yields to a compile error. - operator float() const; + operator float() const = delete; }; inline bool operator<(const ExtMove& f, const ExtMove& s) {