]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Rewrite do_castle_move()
[stockfish] / src / position.h
index 235cc8259ff05f83f3d035777453dacd9c04b325..8b475dd9f6f36a4e85ad6c925afdf7aadeec3e91 100644 (file)
@@ -191,8 +191,8 @@ private:
   void put_piece(Piece p, Square s);
   void set_castle_right(Color c, Square rfrom);
 
-  // Helper template functions
-  template<bool Do> void do_castle_move(Move m);
+  // Helper functions
+  void do_castle(Square kfrom, Square kto, Square rfrom, Square rto);
   template<bool FindPinned> Bitboard hidden_checkers() const;
 
   // Computing hash keys from scratch (for initialization and debugging)