1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

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

@ -38,7 +38,6 @@
class History {
public:
History() { clear(); }
void clear();
Value value(Piece p, Square to) const;
void update(Piece p, Square to, Value bonus);

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)); }