mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Additional renaming from DON
Assorted renaming and triviality. No functional change.
This commit is contained in:
@@ -51,11 +51,11 @@ namespace Time {
|
||||
|
||||
template<class Entry, int Size>
|
||||
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<Entry> e;
|
||||
std::vector<Entry> table;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user