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;