]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Added -Wshadow option and fixed resulting warnings
[stockfish] / src / position.h
index 8bd70b1643f3d47f6d530b0a091692e63de5dde6..a19911ab6035a5efb5013471e4d903b7d66e75a7 100644 (file)
@@ -303,7 +303,7 @@ private:
   int castleRightsMask[64];
   StateInfo startState;
   File initialKFile, initialKRFile, initialQRFile;
-  bool isChess960;
+  bool chess960;
   int startPosPlyCounter;
   int threadID;
   int64_t nodes;
@@ -524,7 +524,7 @@ inline bool Position::has_pawn_on_7th(Color c) const {
 }
 
 inline bool Position::is_chess960() const {
-  return isChess960;
+  return chess960;
 }
 
 inline bool Position::move_is_capture(Move m) const {