]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Only on Windows do wait for input at the end of benchmark
[stockfish] / src / position.h
index aa7c7ab8b78754e19728afd59512c7deff736ec5..9737d7614981756382ab2fc150f149fa24f95c2b 100644 (file)
@@ -138,8 +138,8 @@ public:
   void print(Move m = MOVE_NONE) const;
 
   // Copying
-  void copy(const Position &pos);
-  void flipped_copy(const Position &pos);
+  void copy(const Positionpos);
+  void flipped_copy(const Positionpos);
 
   // The piece on a given square
   Piece piece_on(Square s) const;
@@ -250,7 +250,7 @@ public:
   bool square_is_weak(Square s, Color c) const;
 
   // Doing and undoing moves
-  void setStartState(const StateInfo& st);
+  void saveState();
   void do_move(Move m, StateInfo& st);
   void do_move(Move m, StateInfo& st, Bitboard dcCandidates);
   void undo_move(Move m);