]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Don't need to assert for pos.is_ok() when position is constant
[stockfish] / src / position.h
index 2c94f42af9c32da7de2837d785da10de75e71f7e..c1f639288ca024b7e3fdaebcf38e76149a99a467 100644 (file)
@@ -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);