X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.h;h=92bde8f00618f9a70b7871dd958c69b759182693;hp=c4232a48ce3c653e5e17c9d16e58d133c5a4315f;hb=bee4f1cf09132375e1d151c4c0bccb2f9fc38d29;hpb=41641e3b1eea0038ab6984766d2b3bca869be7fa diff --git a/src/misc.h b/src/misc.h index c4232a48..92bde8f0 100644 --- a/src/misc.h +++ b/src/misc.h @@ -51,11 +51,11 @@ namespace Time { template struct HashTable { - HashTable() : e(Size, Entry()) {} - Entry* operator[](Key k) { return &e[(uint32_t)k & (Size - 1)]; } + HashTable() : table(Size, Entry()) {} + Entry* operator[](Key k) { return &table[(uint32_t)k & (Size - 1)]; } private: - std::vector e; + std::vector table; };