X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=c1f639288ca024b7e3fdaebcf38e76149a99a467;hp=2c94f42af9c32da7de2837d785da10de75e71f7e;hb=67686b7684e8cb2f195a648b1042e671e80bc9be;hpb=69f4954df1de3ed264212a6e871986781d717e08 diff --git a/src/position.h b/src/position.h index 2c94f42a..c1f63928 100644 --- a/src/position.h +++ b/src/position.h @@ -89,9 +89,10 @@ struct StateInfo { class Position { - // No default or copy c'tor allowed, default c'tor will not be generated - // anyhow because of user-defined c'tors. + // No defaul, copy c'tor or assignment allowed, default c'tor will not be + // generated anyhow because of user-defined c'tors. Position(const Position&); + Position& operator=(const Position&); public: Position(const Position& pos, int threadID);