]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Workaround a static data member bug in MSVC
[stockfish] / src / movepick.h
index 10f0e8ef5c66a7ee30ddba345063b332c5de40db..df2012fe6fa0b67bbe2ade133744d39ab4b8b6e7 100644 (file)
@@ -81,7 +81,6 @@ private:
   Move ttMove, mateKiller, killer1, killer2;
   Bitboard pinned, dc;
   MoveStack moves[256], badCaptures[64];
-  static MovegenPhase PhaseTable[32];
   bool pvNode;
   Depth depth;
   int phaseIndex;
@@ -99,10 +98,6 @@ private:
 /// all pieces which can possibly give discovered check.  This bitboard is
 /// computed by the constructor function.
 
-inline MovePicker::MovegenPhase MovePicker::current_move_type() const {
-  return PhaseTable[phaseIndex];
-}
-
 inline Bitboard MovePicker::discovered_check_candidates() const {
   return dc;
 }