Additional renaming from DON

Assorted renaming and triviality.

No functional change.
This commit is contained in:
Marco Costalba
2014-02-14 09:42:50 +01:00
parent ffd6685f79
commit e4695f15bc
6 changed files with 21 additions and 20 deletions

View File

@@ -51,11 +51,11 @@ namespace Time {
template<class Entry, int Size>
struct HashTable {
HashTable() : e(Size, Entry()) {}
Entry* operator[](Key k) { return &e[(uint32_t)k & (Size - 1)]; }
HashTable() : table(Size, Entry()) {}
Entry* operator[](Key k) { return &table[(uint32_t)k & (Size - 1)]; }
private:
std::vector<Entry> e;
std::vector<Entry> table;
};