Fix some warnings under icc

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-01-18 18:35:20 +01:00
parent d91d6da3c4
commit a38b14bd33
2 changed files with 1 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public:
memset(entries, 0, HashSize * sizeof(Entry));
}
~SimpleHash() { delete [] entries; }
virtual ~SimpleHash() { delete [] entries; }
Entry* find(Key key) const { return entries + ((uint32_t)key & (HashSize - 1)); }