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:
parent
d91d6da3c4
commit
a38b14bd33
2 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
2
src/tt.h
2
src/tt.h
|
@ -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)); }
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue