]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Retire Position::set_castling_rights()
[stockfish] / src / position.h
index 5d14f0642195febc82309eff7234f5a3c2811425..d6c79ee181840553b6858c6dcfcf5416898db506 100644 (file)
@@ -214,8 +214,7 @@ private:
   // Initialization helper functions (used while setting up a position)
   void clear();
   void put_piece(Piece p, Square s);
   // Initialization helper functions (used while setting up a position)
   void clear();
   void put_piece(Piece p, Square s);
-  void set_castle(int f, Square ksq, Square rsq);
-  void set_castling_rights(char token);
+  void set_castle_right(Square ksq, Square rsq);
   bool move_is_legal(const Move m) const;
 
   // Helper functions for doing and undoing moves
   bool move_is_legal(const Move m) const;
 
   // Helper functions for doing and undoing moves