]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Retire copy c'tor from class Position
[stockfish] / src / position.h
index 9528bb71963ac01e428fc93ca4f589bebb49e8a3..ed25c090867ed5d1e3217e18f9f00706638ef32e 100644 (file)
@@ -94,7 +94,6 @@ struct ReducedStateInfo {
 class Position {
 public:
   Position() {}
-  Position(const Position& p) { *this = p; }
   Position(const Position& p, Thread* t) { *this = p; thisThread = t; }
   Position(const std::string& f, bool c960, Thread* t) { from_fen(f, c960, t); }
   Position& operator=(const Position&);