]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Unused code cleanup
[stockfish] / src / misc.h
index 69d470c22f8a0098273781739411372d98771ad3..0005fc0fb090a26ac4778ee9cc5659f7090f0c4c 100644 (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);