]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Rename some variables for more clarity.
[stockfish] / src / misc.h
index 34ef03259f9de5e6f1d75664aa0c16bef88f7e36..420347f43faf46313fe06a3991f3e9c7bbd02a91 100644 (file)
@@ -46,7 +46,7 @@ namespace Time {
 template<class Entry, int Size>
 struct HashTable {
   HashTable() : table(Size, Entry()) {}
-  Entry* operator[](Key k) { return &table[(uint32_t)k & (Size - 1)]; }
+  Entry* operator[](Key key) { return &table[(uint32_t)key & (Size - 1)]; }
 
 private:
   std::vector<Entry> table;