Fix regression: print const position

Fix a regression introduced with new TB code.

No functional change.
This commit is contained in:
Marco Costalba
2016-11-27 09:11:56 +01:00
parent e7289465b9
commit ec83e8a72c
2 changed files with 7 additions and 4 deletions

View File

@@ -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;