X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fposition.h;h=69bf40b18a5092231821e0af840c6afaee243a1c;hb=3728e833aaeca780f17217700d00b2bab8c8cde9;hp=989282772a1cf765e354eca643166fa74ab8d809;hpb=e6c289902069b7bc262ddaf86a21884867d8f83b;p=stockfish diff --git a/src/position.h b/src/position.h index 98928277..69bf40b1 100644 --- a/src/position.h +++ b/src/position.h @@ -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;