X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=896619dca867682ed9764f404ee9c2ecf1e20311;hp=a2ceb9902c2f3e05b2c19f1e3ba2d3a97ba1bc9f;hb=19b8249ff47ed2109182b2eacfc03ddb3d0a7059;hpb=25b492ab586bcb3795a4bbb7521a8e5ee20d6708 diff --git a/src/position.h b/src/position.h index a2ceb990..896619dc 100644 --- a/src/position.h +++ b/src/position.h @@ -76,6 +76,9 @@ class Position { friend std::ostream& operator<<(std::ostream&, const Position&); + // Disable the default copy constructor + Position(const Position&); + public: Position() {} Position(const Position& pos, Thread* th) { *this = pos; thisThread = th; }