X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=3d4614cde0018a793f417a17470e0c655f88f468;hp=f3839bf024d9e03a81db31cb93dadf8e475f7ca9;hb=917944e9c5324cc9659e630570e1852270b22bd4;hpb=800410eef1c0811d046ee2332b3afda21284b876 diff --git a/src/movepick.h b/src/movepick.h index f3839bf0..3d4614cd 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -87,8 +87,8 @@ 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(); + const ExtMove* quiet_moves() const; template Move next_move(); private: @@ -104,7 +104,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