Retire copy c'tor from class Position
authorMarco Costalba <mcostalba@gmail.com>
Mon, 20 Aug 2012 13:44:30 +0000 (14:44 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 20 Aug 2012 13:44:30 +0000 (14:44 +0100)
Not needed.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.h

index 9528bb7..ed25c09 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&);