Unused code cleanup

closes https://github.com/official-stockfish/Stockfish/pull/4696

No functional change
This commit is contained in:
Cody Ho
2023-07-18 13:03:26 -07:00
committed by Joost VandeVondele
parent 6abd0bd9fb
commit 3fe0d5c533
3 changed files with 1 additions and 18 deletions

View File

@@ -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);