X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.h;h=4b238df549decf27c75768ce7fa8177ddcfaab1e;hp=3cba486796bd93b0c5c83138f0f64e158cc3af0a;hb=82ad9ce9cfb0eff33f1d781f329f7c5dc0b277eb;hpb=95ba7f78d5e025499ec8124e37e9f3b769660e4a diff --git a/src/misc.h b/src/misc.h index 3cba4867..4b238df5 100644 --- a/src/misc.h +++ b/src/misc.h @@ -53,7 +53,7 @@ struct HashTable { Entry* operator[](Key key) { return &table[(uint32_t)key & (Size - 1)]; } private: - std::vector table = std::vector(Size); + std::vector table = std::vector(Size); // Allocate on the heap };