Fix another warning

This commit is contained in:
Laurent Rineau 2019-12-10 13:52:33 +01:00
parent c08c632fc8
commit 0460176a2b
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public:
const T& get_and_erase(const K& k) const
{
unsigned int h = hash(k)%M;
int i = h;
unsigned int i = h;
do{
if((occupied[i] == 1) && (data[i].first == k)){
occupied[i] = -1;