X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=c444615f5b9f2e8ab4a0952ff47e3c97bf642079;hp=f3839bf024d9e03a81db31cb93dadf8e475f7ca9;hb=c65d67feb53895a34423cc2043edc69741f2ba92;hpb=bc6faf633e7f4d2c998f434a41ecfc9b80047607 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