X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=423a6a1805e34a233844024940bd8d66839fb74b;hp=44fc51f6263d73ca5a88919ff044e3e6b256cc12;hb=946fa4762539307dcdcb30d08f13d627864e9bcf;hpb=6661a3154152ab448b1dc11d882586976f616f92 diff --git a/src/movepick.h b/src/movepick.h index 44fc51f6..423a6a18 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -21,7 +21,6 @@ #define MOVEPICK_H_INCLUDED #include // For std::max -#include // For std::memset #include "movegen.h" #include "position.h" @@ -44,7 +43,6 @@ struct Stats { const T* operator[](Piece pc) const { return table[pc]; } T* operator[](Piece pc) { return table[pc]; } - void clear() { std::memset(table, 0, sizeof(table)); } void update(Piece pc, Square to, Move m) {