X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmovepick.h;h=c444615f5b9f2e8ab4a0952ff47e3c97bf642079;hb=3cc47edf622b1d12a37b3637cae503d6862437c4;hp=f3839bf024d9e03a81db31cb93dadf8e475f7ca9;hpb=800410eef1c0811d046ee2332b3afda21284b876;p=stockfish diff --git a/src/movepick.h b/src/movepick.h index f3839bf0..c444615f 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -87,7 +87,6 @@ public: MovePicker(const Position&, Move, Depth, const HistoryStats&, Square); MovePicker(const Position&, Move, const HistoryStats&, PieceType); MovePicker(const Position&, Move, Depth, const HistoryStats&, Move*, Search::Stack*); - ~MovePicker(); template Move next_move(); @@ -104,7 +103,8 @@ private: ExtMove killers[4]; Square recaptureSquare; int captureThreshold, stage; - ExtMove *moves, *cur, *end, *endQuiets, *endBadCaptures; + ExtMove *cur, *end, *endQuiets, *endBadCaptures; + ExtMove moves[MAX_MOVES]; }; #endif // #ifndef MOVEPICK_H_INCLUDED