mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 09:37:16 +08:00
Unused code cleanup
closes https://github.com/official-stockfish/Stockfish/pull/4696 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
6abd0bd9fb
commit
3fe0d5c533
@@ -55,14 +55,6 @@ inline TimePoint now() {
|
||||
(std::chrono::steady_clock::now().time_since_epoch()).count();
|
||||
}
|
||||
|
||||
template<class Entry, int Size>
|
||||
struct HashTable {
|
||||
Entry* operator[](Key key) { return &table[(uint32_t)key & (Size - 1)]; }
|
||||
|
||||
private:
|
||||
std::vector<Entry> table = std::vector<Entry>(Size); // Allocate on the heap
|
||||
};
|
||||
|
||||
|
||||
enum SyncCout { IO_LOCK, IO_UNLOCK };
|
||||
std::ostream& operator<<(std::ostream&, SyncCout);
|
||||
|
||||
Reference in New Issue
Block a user