HashTable class missed operator[]
This commit is contained in:
parent
ed608f9f13
commit
08661558f2
@ -56,6 +56,10 @@ public:
|
||||
table.clear();
|
||||
}
|
||||
|
||||
inline
|
||||
valueT & operator[] (keyT key) {
|
||||
return table[key];
|
||||
}
|
||||
private:
|
||||
MyHashTable table;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user