mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Fix regression: print const position
Fix a regression introduced with new TB code. No functional change.
This commit is contained in:
@@ -190,7 +190,7 @@ private:
|
||||
bool chess960;
|
||||
};
|
||||
|
||||
extern std::ostream& operator<<(std::ostream& os, Position& pos);
|
||||
extern std::ostream& operator<<(std::ostream& os, const Position& pos);
|
||||
|
||||
inline Color Position::side_to_move() const {
|
||||
return sideToMove;
|
||||
|
||||
Reference in New Issue
Block a user