mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 18:46:59 +08:00
Small code style tidy up
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -122,11 +122,11 @@ class Position {
|
||||
public:
|
||||
// Constructors
|
||||
Position() {};
|
||||
Position(const Position &pos);
|
||||
Position(const std::string &fen);
|
||||
Position(const Position& pos);
|
||||
Position(const std::string& fen);
|
||||
|
||||
// Text input/output
|
||||
void from_fen(const std::string &fen);
|
||||
void from_fen(const std::string& fen);
|
||||
const std::string to_fen() const;
|
||||
void print(Move m = MOVE_NONE) const;
|
||||
|
||||
@@ -268,7 +268,7 @@ public:
|
||||
Value mg_pst_delta(Move m) const;
|
||||
|
||||
// Game termination checks
|
||||
bool is_mate();
|
||||
bool is_mate() const;
|
||||
bool is_draw() const;
|
||||
|
||||
// Check if one side threatens a mate in one
|
||||
|
||||
Reference in New Issue
Block a user